[]
List of items which can be used with heavy templates and preview template to scroll quickly.
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(C1ListBoxItem))]
public class C1ListBox : C1ListViewer, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, INotifyPropertyChanged
This control supports selection by cross-slide gesture.
Name | Description |
---|---|
C1ListBox() | Initializes a new instance of a C1ListBox. |
Name | Description |
---|---|
MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
SelectedBackgroundProperty | Identifies the SelectedBackground dependency property. |
SelectedItemProperty | Identifies the SelectedItem dependency property. |
SelectedItemsProperty | Identifies the SelectedItems dependency property. |
SelectionModeProperty | Identifies the SelectionMode dependency property. |
Name | Description |
---|---|
MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
SelectedBackground | Gets or sets the Brush used to highlight the control when it is selected. |
SelectedItem | Gets or set the item which is selected. |
SelectedItems | Gets or set the list of items which are selected. |
SelectionMode | Gets or sets if selection is disabled, single, multiple, or extended. |
Name | Description |
---|---|
ClearSelection() | Clears the selection. |
GetContainerForItemOverride() | Creates or identifies the element that is used to display the given item. |
InitializePanel() | Initializes the panel. |
IsItemItsOwnContainerOverride(object) | Determines if the specified item is (or is eligible to be) its own container. |
OnItemTapped(object, C1TappedEventArgs) | Called when one of the items is tapped. |
OnItemsChanged(NotifyCollectionChangedEventArgs) | |
OnSelectionChanged(object, SelectionChangedEventArgs<int>) | Called when the selection changed. |
PrepareContainerForItemOverride(DependencyObject, object) | Prepares the specified element to display the specified item. |
Name | Description |
---|---|
SelectionChanged | Occurs when the selection changed. |