All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

DXCollectionView Members

A collection view.

Constructors

Name Description
DXCollectionView() Initializes a new instance of the DXCollectionView class.

Fields

Name Description
AllowCascadeUpdateProperty static Identifies the AllowCascadeUpdate dependency property.
AllowDragDropItemsProperty static Identifies the AllowDragDropItems dependency property.
AllowDragDropSortedItemsProperty static Identifies the AllowDragDropSortedItems dependency property.
AllowGroupCollapseProperty static Identifies the AllowGroupCollapse dependency property.
DisplayFormatProperty static Identifies the DisplayFormat dependency property.
DisplayMemberProperty static Identifies the DisplayMember dependency property.
FilterExpressionProperty static Identifies the FilterExpression dependency property.
FilterStringProperty static Identifies the FilterString dependency property.
GroupDescriptionProperty static Identifies the GroupDescription dependency property.
GroupHeaderSizeProperty static Identifies the GroupHeaderSize dependency property.
GroupHeaderTemplateProperty static Identifies the GroupHeaderTemplate dependency property.
IndicatorColorProperty static Identifies the IndicatorColor dependency property.
InvalidItemHandle
IsLoadMoreEnabledProperty static Identifies the IsLoadMoreEnabled dependency property.
IsPullToRefreshEnabledProperty static Identifies the IsPullToRefreshEnabled dependency property.
IsRefreshingProperty static Identifies the IsRefreshing dependency property.
IsScrollBarVisibleProperty static Identifies the IsScrollBarVisible dependency property.
IsUpdateLockedProperty static Identifies the IsUpdateLocked dependency property.
ItemSizeProperty static Identifies the ItemSize dependency property.
ItemsSourceProperty static Identifies the ItemsSource dependency property.
ItemTemplateProperty static Identifies the ItemTemplate dependency property.
LoadMoreCommandProperty static Identifies the LoadMoreCommand dependency property.
MinGroupHeaderSizeProperty static Identifies the MinGroupHeaderSize dependency property.
MinItemSizeProperty static Identifies the MinItemSize dependency property.
OrientationProperty static Identifies the Orientation dependency property.
PullToRefreshCommandProperty static Identifies the PullToRefreshCommand dependency property.
SelectedItemProperty static Identifies the SelectedItem dependency property.
SelectedItemsProperty static Identifies the SelectedItems dependency property.
SelectedItemTemplateProperty static Identifies the SelectedItemTemplate dependency property.
SelectionModeProperty static Identifies the SelectionMode dependency property.

Properties

Name Description
AllowCascadeUpdate Gets or sets whether the CollectionView performs deferred data loading while a user scrolls items.
AllowDragDropItems Gets or sets whether a user is allowed to drag and drop items within the view.
AllowDragDropSortedItems Gets or sets whether a user is allowed to drag and drop items that are sorted or grouped.
AllowGroupCollapse Specifies whether users can collapse and expand groups of items.
DisplayFormat Gets or sets the pattern used to format list items.
DisplayMember Gets or sets the name of the data source's field whose values are displayed as list items.
FilterExpression Gets or sets the CollectionView's filter expression.
FilterString Gets or sets the CollectionView's filter expression string.
GroupCount Gets the number of data item groups in a CollectionView.
GroupDescription Specifies how to group data items in the view.
GroupHeaderSize Gets or sets a group header's height (for the vertical orientation of the view) or width (for the horizontal orientation).
GroupHeaderTemplate Gets or sets the template that defines the appearance of group headers.
IndicatorColor Gets or sets the color of the load-more (iOS and Android) and pull-to-refresh (iOS only) indicators.
IsLoadMoreEnabled Gets or sets whether the load-more functionality is enabled in the CollectionView.
IsPullToRefreshEnabled Gets or sets whether the pull-to-refresh functionality is enabled in the CollectionView.
IsRefreshing Gets or sets whether the CollectionView displays the refresh or load indicator to show the pull-to-refresh or load-more activity status.
IsScrollBarVisible Gets or sets whether the scrollbar is displayed in the view.
IsUpdateLocked
ItemCount Gets the number of data items in the view.
ItemSize Gets or sets a data item's height (for vertical orientation of the view) or width (for horizontal orientation).
ItemsSource Gets or sets the CollectionView's data source.
ItemTemplate Gets or sets the template that defines the appearance of list items.
LoadMoreCommand Gets or sets the command executed when a user scrolls to the last item in the CollectionView to load new data items.
MinGroupHeaderSize Gets or sets a group header's minimum height (for the vertical orientation of the view) or width (for the horizontal orientation).
MinItemSize Gets or sets a data item's minimum height (vertical orientation) or width (horizontal orientation).
Orientation Gets or sets the orientation of the CollectionView.
PullToRefreshCommand Gets or sets the command executed when a user pulls the CollectionView down to request content update.
SelectedItem Gets or sets the selected item when the SelectionMode property is set to Single.
SelectedItems Gets or sets selected items when the SelectionMode property is set to Multiple.
SelectedItemTemplate Gets or sets the template that defines the appearance of an item selected in the view.
SelectionMode Specifies whether and how many items can be selected in the view.
SortDescriptions Specifies how to sort data items in the view.
VisibleItemCount Gets the total number of items displayed in the view.

Methods

Name Description
BeginUpdate()
CollapseAllGroups() Collapses all groups of items.
CollapseGroup(Int32) Collapses the specified group of items.
DeleteItem(Int32)
EndUpdate()
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ExpandAllGroups() Expands all groups of items.
ExpandGroup(Int32) Expands the specified group of items.
GetChildItemCount(Int32) Returns the number of data items in the group.
GetChildItemHandle(Int32, Int32) Returns the handle of the item at the specified position within the specified group.
GetGroupValue(Int32) Returns the data value for which the group is created.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetItem(Int32) Returns an object that specifies a record in the CollectionView's underlying data source.
GetItemHandleByVisibleIndex(Int32) Returns the handle of the item by its visible index.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVisibleIndexByItemHandle(Int32) Returns the visible index of the item by its handle.
IsGroupCollapsed(Int32) Indicates whether the specified group of items is collapsed.
IsGroupHeader(Int32) Checks whether the specified item is a group header.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MoveItem(Int32, Int32, Action, Boolean)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ScrollTo(Int32) Scrolls the view to make the specified item visible.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CompleteItemDragDrop Occurs after the drag-and-drop operation is completed.
DragItem Occurs when a user touches and holds an item to drag it.
DragItemOver Occurs each time an item is dragged over another item.
DropItem Occurs when a user drops an item.
GroupCollapsed Occurs after a group of items has been collapsed.
GroupCollapsing Occurs before a group of items is collapsed.
GroupExpanded Occurs after a group of items has been expanded.
GroupExpanding Occurs before a group of items is expanded.
LoadMore Occurs when a user scrolls to the last item in the CollectionView to load new data items.
PullToRefresh Occurs when a user pulls the CollectionView down to refresh its content.
SelectionChanged Occurs when the item selection is changed.
Tap Occurs when a user taps the view.
See Also