[]
The ListView controls display a virtualized list of items.
public class C1ListView<T> : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Name | Description |
---|---|
T | The type of the items |
Name | Description |
---|---|
C1ListView() | Initializes a new instance of the C1ListView<T> class. |
Name | Description |
---|---|
AlternatingItemBackgroundColor | Gets or sets the C1Color that is used to paint the background of the odd items. |
AlternatingItemTextColor | Gets or sets the C1Color of the odd items. |
DataCollection | Gets the underlying collection. |
DisplayMemberPath | Gets or sets the property name or path of the item that will be used to extract the text that will be displayed. |
GroupBackgroundColor | Gets or sets the C1Color that is used to paint the background of the groups. |
GroupTemplate | Gets or sets the template used to display groups. |
GroupTextColor | Gets or sets the C1Color of the group items. |
ItemBackgroundColor | Gets or sets the C1Color that is used to paint the background of items. |
ItemDoubleTapped | Gets or sets the callback that will be called when an item is double tapped. |
ItemHeight | Gets the height of the items. |
ItemStyle | Gets or sets the style of the items. |
ItemTapped | Gets or sets the callback that will be called when an item is tapped. |
ItemTemplate | Gets or sets the template used to render the items. |
ItemTextColor | Gets or sets the C1Color of the items. |
Items | Gets the collection of items displayed in the list. |
ItemsSource | Gets or sets the collection of items. |
LoadingItem | Gets or sets the callback that is called when the items are being loaded. |
ScrollBarVisibility | Gets or sets visibility of the vertical scrollbar. |
Selection | Gets or sets the ListView selection. |
SelectionChanged | Occurs after selection changed. |
SelectionMode | Gets or sets how the cells or rows are selected. |
SelectionStyle | Gets or sets the style of the selection. |
SeparatorWidth | Gets or sets the width of the line separating items. |
ShowCheckboxes | Sets the name of the property used to control checkboxes placed next to each item. |
ViewportHeight | Gets the height of the viewport. |
ViewportUpdated | Event callback that will be invoked when viewport is updated. |
Name | Description |
---|---|
BuildRenderTree(RenderTreeBuilder) | |
ChangeViewAsync(double) | Scrolls the list vertically to the specified offset. |
Dispose(bool) | |
FocusAsync() | Sets the focus in the control. |
InitializeAsync() | This method is called when the component is initialized. |
OnAfterRender(bool) | |
OnItemDoubleTapped(ListViewInputEventArgs) | Raises the ItemDoubleTapped event. |
OnItemTapped(ListViewInputEventArgs) | Raises the ItemTapped event. |
OnKeyDown(KeyboardEventArgs) | |
OnKeyUp(KeyboardEventArgs) | |
OnLoadingItem(ListViewItemStyleEventArgs) | Raises the LoadingItem event. |
Refresh() | Refresh current view panel |
ScrollIntoView(int) | Scrolls the list to the specified |
ScrollIntoViewAsync(int) | Scrolls the list to the specified |
Select(int) | Selects the specified index. |