Silverlight ItemViewer
The ItemViewer exposes several properties for controlling various aspects of the ItemViewer and its behaviour.
Properties for Liquid.ItemViewer
Below are the available properties complete with descriptions.
VerticalScrollBarVisibility (ScrollBarVisibility)
Gets or sets the visibility of the vertical scrollbar.
HorizontalScrollBarVisibility (ScrollBarVisibility)
Gets or sets the visibility of the horizontal scrollbar.
Items (List`1)
Gets or sets a collection of items.
Selected (FileItem)
Gets or sets the selected item.
Background (Brush)
Gets or sets the background color.
Fill (Brush)
Gets or sets the background color.
Methods for Liquid.ItemViewer
Below are the available methods, complete with parameters and descriptions.
Add(FileItem)
Adds a single FileItem object.
Parameters
Add(IEnumerable<FileItem>)
Adds a collection of FileItem objects to the Items collection.
Parameters
Clear()
Clears all the child items.
OnApplyTemplate()
This is called when the template has been bound to the control.
Tick(Object, EventArgs)
This is called frequently by a timer to keep tabs on double-clicks.
Parameters
sender
Event source object