Skip to main content

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 bindable property.
AllowDeselectSingleItemProperty static Identifies the AllowDeselectSingleItem bindable property.
AllowDragDropItemsProperty static Identifies the AllowDragDropItems bindable property.
AllowDragDropSortedItemsProperty static Identifies the AllowDragDropSortedItems bindable property.
AllowFixedGroupHeadersProperty static Identifies the AllowFixedGroupHeaders bindable property.
AllowGroupCollapseProperty static Identifies the AllowGroupCollapse bindable property.
AllowLiveDataShapingProperty static Identifies the AllowLiveDataShaping bindable property.
AnchorXProperty static Bindable property for AnchorX. Inherited from VisualElement.
AnchorYProperty static Bindable property for AnchorY. Inherited from VisualElement.
AutoExpandAllGroupsProperty static Identifies the AutoExpandAllGroups bindable property.
AutomationIdProperty static Bindable property for AutomationId. Inherited from Element.
BackgroundColorProperty static Bindable property for BackgroundColor. Inherited from VisualElement.
BackgroundProperty static Bindable property for Background. Inherited from VisualElement.
BehaviorsProperty static Bindable property for Behaviors. Inherited from VisualElement.
BindingContextProperty static Bindable property for BindingContext. Inherited from BindableObject.
ClassIdProperty static Bindable property for ClassId. Inherited from Element.
ClipProperty static Bindable property for Clip. Inherited from VisualElement.
DetailEditFormTemplateProperty static Identifies the DetailEditFormTemplate bindable property.
DetailFormTemplateProperty static Identifies the DetailFormTemplate bindable property.
DetailNewItemFormTemplateProperty static Identifies the DetailNewItemFormTemplate bindable property.
DisplayFormatProperty static Identifies the DisplayFormat bindable property.
DisplayMemberProperty static Identifies the DisplayMember bindable property.
DoubleTapCommandProperty static Identifies the DoubleTapCommand bindable property.
FilterExpressionProperty static Identifies the FilterExpression bindable property.
FilteringUITemplateProperty static Identifies the FilteringUITemplate bindable property.
FilterStringProperty static Identifies the FilterString bindable property.
FlowDirectionProperty static Bindable property for FlowDirection. Inherited from VisualElement.
FooterProperty static Identifies the Footer bindable property.
FooterTemplateProperty static Identifies the FooterTemplate bindable property.
GroupDescriptionProperty static Identifies the GroupDescription bindable property.
GroupHeaderSizeProperty static Identifies the GroupHeaderSize bindable property.
GroupHeaderTemplateProperty static Identifies the GroupHeaderTemplate bindable property.
GroupItemAppearanceProperty static Identifies the GroupItemAppearance bindable property.
GroupItemSeparatorCapMarginProperty static Identifies the GroupItemSeparatorCapMargin bindable property.
GroupItemSeparatorColorProperty static Identifies the GroupItemSeparatorColor bindable property.
GroupItemSeparatorThicknessProperty static Identifies the GroupItemSeparatorThickness bindable property.
HeaderProperty static Identifies the Header bindable property.
HeaderTemplateProperty static Identifies the HeaderTemplate bindable property.
HeightProperty static Bindable property for Height. Inherited from VisualElement.
HeightRequestProperty static Bindable property for HeightRequest. Inherited from VisualElement.
HorizontalOptionsProperty static Bindable property for HorizontalOptions. Inherited from View.
IndicatorColorProperty static Identifies the IndicatorColor bindable property.
InputTransparentProperty static Bindable property for InputTransparent. Inherited from VisualElement.
InvalidItemHandle An invalid item handle. This value is returned when trying to access an item that does not exist in the collection view.
IsEnabledProperty static Bindable property for IsEnabled. Inherited from VisualElement.
IsFocusedProperty static Bindable property for IsFocused. Inherited from VisualElement.
IsFocusedPropertyKey static Bindable property for IsFocused. Inherited from VisualElement.
IsLoadMoreEnabledProperty static Identifies the IsLoadMoreEnabled bindable property.
IsPullToRefreshEnabledProperty static Identifies the IsPullToRefreshEnabled bindable property.
IsRefreshingProperty static Identifies the IsRefreshing bindable property.
IsScrollBarVisibleProperty static Identifies the IsScrollBarVisible bindable property.
IsVisibleProperty static Bindable property for IsVisible. Inherited from VisualElement.
ItemAppearanceProperty static Identifies the ItemAppearance bindable property.
ItemSeparatorCapMarginProperty static Identifies the ItemSeparatorCapMargin bindable property.
ItemSeparatorColorProperty static Identifies the ItemSeparatorColor bindable property.
ItemSeparatorShowBeforeGroupProperty static Identifies the ItemSeparatorShowBeforeGroup bindable property.
ItemSeparatorThicknessProperty static Identifies the ItemSeparatorThickness bindable property.
ItemSizeProperty static Identifies the ItemSize bindable property.
ItemSpacingProperty static Identifies the ItemSpacing bindable property.
ItemSpanCountProperty static Identifies the ItemSpanCount bindable property.
ItemSpanSpacingProperty static Identifies the ItemSpanSpacing bindable property.
ItemsSourceProperty static Identifies the ItemsSource bindable property.
ItemTemplateProperty static Identifies the ItemTemplate bindable property.
LoadMoreCommandProperty static Identifies the LoadMoreCommand bindable property.
LongPressCommandProperty static Identifies the LongPressCommand bindable property.
MarginProperty static Bindable property for Margin. Inherited from View.
MinGroupHeaderSizeProperty static Identifies the MinGroupHeaderSize bindable property.
MinimumHeightRequestProperty static Bindable property for MinimumHeightRequest. Inherited from VisualElement.
MinimumWidthRequestProperty static Bindable property for MinimumWidthRequest. Inherited from VisualElement.
MinItemSizeProperty static Identifies the MinItemSize bindable property.
NavigationProperty static Bindable property for Navigation. Inherited from VisualElement.
OpacityProperty static Bindable property for Opacity. Inherited from VisualElement.
OrientationProperty static Identifies the Orientation bindable property.
propertyMapper protected Represents the view’s internal PropertyMapper. Inherited from View.
PullToRefreshCommandProperty static Identifies the PullToRefreshCommand bindable property.
ReduceSizeToContentProperty static Identifies the ReduceSizeToContent bindable property.
RippleColorProperty static Identifies the RippleColor bindable property.
RippleEffectPositionProperty static Identifies the RippleEffectPosition bindable property.
RotationProperty static Bindable property for Rotation. Inherited from VisualElement.
RotationXProperty static Bindable property for RotationX. Inherited from VisualElement.
RotationYProperty static Bindable property for RotationY. Inherited from VisualElement.
ScaleProperty static Bindable property for Scale. Inherited from VisualElement.
ScaleXProperty static Bindable property for ScaleX. Inherited from VisualElement.
ScaleYProperty static Bindable property for ScaleY. Inherited from VisualElement.
ScrollItemCountProperty static Identifies the ScrollItemCount bindable property.
SelectedItemAppearanceProperty static Identifies the SelectedItemAppearance bindable property.
SelectedItemProperty static Identifies the SelectedItem bindable property.
SelectedItemsProperty static Identifies the SelectedItems bindable property.
SelectedItemTemplateProperty static Identifies the SelectedItemTemplate bindable property.
SelectionModeProperty static Identifies the SelectionMode bindable property.
ShowFooterProperty static Identifies the ShowFooter bindable property.
ShowHeaderProperty static Identifies the ShowHeader bindable property.
StyleProperty static Bindable property for Style. Inherited from VisualElement.
TapCommandProperty static Identifies the TapCommand bindable property.
TapConfirmedCommandProperty static Identifies the TapConfirmedCommand bindable property.
TranslationXProperty static Bindable property for TranslationX. Inherited from VisualElement.
TranslationYProperty static Bindable property for TranslationY. Inherited from VisualElement.
TriggersProperty static Bindable property for Triggers. Inherited from VisualElement.
UseRippleEffectProperty static Identifies the UseRippleEffect bindable property.
VerticalOptionsProperty static Bindable property for VerticalOptions. Inherited from View.
VisibleItemCountProperty static Identifies the VisibleItemCount bindable property.
VisualProperty static Bindable property for Visual. Inherited from VisualElement.
WidthProperty static Bindable property for Width. Inherited from VisualElement.
WidthRequestProperty static Bindable property for WidthRequest. Inherited from VisualElement.
XProperty static Bindable property for X. Inherited from VisualElement.
YProperty static Bindable property for Y. Inherited from VisualElement.

Properties

Name Description
ActualAppearance Gets the common appearance settings that are applied to the current DXCollectionView.
AllowCascadeUpdate Gets or sets whether the CollectionView performs deferred data loading while a user scrolls items. This is a bindable property.
AllowDeselectSingleItem Gets or sets whether a user can deselect the previously selected item. This is a bindable property.
AllowDragDropItems Gets or sets whether users can drag items within the view. This is a bindable property.
AllowDragDropSortedItems Gets or sets whether users can drag items that are sorted or grouped. This is a bindable property.
AllowFixedGroupHeaders Gets or sets whether to fix group headers at the top of a Collection View when a user scrolls items up or down. This is a bindable property.
AllowGroupCollapse Gets or sets whether users can collapse and expand groups of items. This is a bindable property.
AllowLiveDataShaping Gets or sets whether DXCollectionView refreshes itself if the data source notifies the control of a value change. The control re-shapes its data: changes sort order, re-applies filter conditions, and carries out other necessary updates. This functionality is available for item source objects that implement the INotifyPropertyChanged interface. This is a bindable property.
AnchorX Gets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnchorY Gets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AutoExpandAllGroups Gets or sets whether users can expand all the DXCollectionView‘s groups. This is a bindable property.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
Background Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement.
BackgroundColor Gets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement.
Batched Gets a value that indicates there are batched changes done for this element. Inherited from VisualElement.
Behaviors Gets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
Bounds Gets the bounds of the element in device-independent units. Inherited from VisualElement.
class Gets or sets the style classes for the element. Inherited from NavigableElement.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
Clip Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement.
Commands Returns the collection of CollectionView commands.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement.
DetailEditFormTemplate Gets or sets the template used to build the edit form for a CollectionView item.
DetailFormTemplate Gets or sets the template used to build the view form for a CollectionView item.
DetailNewItemFormTemplate Gets or sets the template of a form used to add new items to a CollectionView.
DisableLayout Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
DisplayFormat Gets or sets the pattern used to format list items. This is a bindable property.
DisplayMember Gets or sets the name of the data source’s field whose values are displayed as list items. This is a bindable property.
DoubleTapCommand Gets or sets a command executed when a user taps a collection view item twice. This is a bindable property.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
FilterExpression Gets or sets the DXCollectionView‘s filter expression. This is a bindable property.
FilteringContext Returns the data context that is used to bind filter items to the Collection View.
FilteringUITemplate Gets or sets the template that is used to build the filter form for Collection View items.
FilterString Gets or sets the CollectionView’s filter expression string. This is a bindable property.
FlowDirection Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement.
Footer Gets or sets footer content. This is a bindable property.
FooterTemplate Gets or sets a template that configures the DXCollectionView footer. This is a bindable property.
Frame Gets or sets the frame this element resides in on screen. Inherited from VisualElement.
GestureRecognizers The collection of gesture recognizers associated with this view. Inherited from View.
GroupCount Gets the number of data item groups in a CollectionView.
GroupDescription Gets or sets how to group data items in the view. This is a bindable property.
GroupHeaderSize Gets or sets a group header’s height (for the vertical orientation of the view) or width (for the horizontal orientation). This is a bindable property.
GroupHeaderTemplate Gets or sets the template that defines the appearance of group headers. This is a bindable property.
GroupItemAppearance Gets or sets the appearance settings that are applied to the current DXCollectionView‘s group items. This is a bindable property.
GroupItemSeparatorCapMargin Gets or sets the side margins for group item separators. This is a bindable property.
GroupItemSeparatorColor Gets or sets the color of the group item separator. This is a bindable property.
GroupItemSeparatorThickness Gets or sets group item separator thickness. This is a bindable property.
Handler Gets or sets the IViewHandler associated to this element. Inherited from VisualElement.
Header Gets or sets header content. This is a bindable property.
HeaderTemplate Gets or sets a template that configures the DXCollectionView header. This is a bindable property.
Height Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement.
HeightRequest Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement.
HorizontalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
IndicatorColor Gets or sets the color of the load-more (iOS and Android) and pull-to-refresh (iOS only) indicators. This is a bindable property.
InputTransparent Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement.
IsFocused Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement.
IsInitialized Gets whether the DXCollectionView instance is initialized. Inherited from DXCollectionViewBase.
IsLoadMoreEnabled Gets or sets whether the load-more functionality is enabled in the CollectionView. This is a bindable property.
IsPlatformEnabled Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement.
IsPullToRefreshEnabled Gets or sets whether the pull-to-refresh functionality is enabled in the CollectionView.
IsRefreshing Allows you to hide the refresh or load indicator that the collection view displays when executing the pull-to-refresh or load-more operation. This is a bindable property.
IsScrollBarVisible Gets or sets whether the scrollbar is displayed in the view. This is a bindable property.
IsVisible Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement.
ItemAppearance Gets or sets the appearance settings that are applied to the current DXCollectionView‘s items. This is a bindable property.
ItemSeparatorCapMargin Gets or sets the gaps between separator ends and collection view boundaries. This is a bindable property.
ItemSeparatorColor Gets or sets the item separator color. This is a bindable property.
ItemSeparatorShowBeforeGroup Gets or sets whether to show the separator for the last item in a group. This is a bindable property.
ItemSeparatorThickness Gets or sets item separator thickness. This is a bindable property.
ItemSize Gets or sets a data item’s height (for vertical orientation of the view) or width (for horizontal orientation). This is a bindable property.
ItemSpacing Gets or sets the gap between items in a collection view. This is a bindable property.
ItemSpanCount Gets or sets the number of layout columns or rows (depending on Orientation) that are used to arrange CollectionView items. This is a bindable property.
ItemSpanSpacing Gets or sets the gap between DXCollectionView item columns/rows (depending on Orientation). This is a bindable property.
ItemsSource Gets or sets the CollectionView’s data source. This is a bindable property.
ItemTemplate Gets or sets the template that defines the appearance of list items. This is a bindable property.
LoadMoreCommand Gets or sets the command executed when a user scrolls to the last item in the CollectionView to load new data items. This is a bindable property.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
LongPressCommand Gets or sets a command executed when a user taps and holds an item within the collection view.
Margin Gets or set the margin for the view. Inherited from View.
MinGroupHeaderSize Gets or sets a group header’s minimum height (for the vertical orientation of the view) or width (for the horizontal orientation). This is a bindable property.
MinimumHeightRequest Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement.
MinimumWidthRequest Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement.
MinItemSize Gets or sets a data item’s minimum height (vertical orientation) or width (horizontal orientation). This is a bindable property.
Navigation Gets the object responsible for handling stack-based navigation. Inherited from NavigableElement.
NavigationProxy Gets the cast of Navigation to a NavigationProxy. Inherited from NavigableElement.
Opacity Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement.
Orientation Gets or sets the orientation of the CollectionView. This is a bindable property.
Parent Gets or sets the parent Element of this element. Inherited from Element.
PullToRefreshCommand Gets or sets the command executed when a user pulls the CollectionView down to request content update. This is a bindable property.
RealParent For internal use by .NET MAUI. Inherited from Element.
ReduceSizeToContent Gets or sets whether the collection view reduces its size to occupy the minimum space needed for its content. This is a bindable property.
Resources Gets or sets the local resource dictionary. Inherited from VisualElement.
RippleColor Gets or sets the color used for ripple effects. This is a bindable property.
RippleEffectPosition Gets or sets whether to show ripple effects in front of or behind item content. This is a bindable property.
Rotation Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationX Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationY Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
Scale Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement.
ScaleX Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement.
ScaleY Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement.
ScrollItemCount Gets the total number of items displayed in the collection view.
SelectedItem Gets or sets the selected item when the SelectionMode property is set to Single. This is a bindable property.
SelectedItemAppearance Gets or sets the appearance settings that are applied to current DXCollectionView selected items. This is a bindable property.
SelectedItems Gets or sets selected items when the SelectionMode property is set to Multiple. This is a bindable property.
SelectedItemTemplate Gets or sets the template that defines the appearance of an item selected in the view. This is a bindable property.
SelectionMode Gets or sets whether and how many items can be selected in the view. This is a bindable property.
ShowFooter Gets or sets whether to show the DXCollectionView footer. This is a bindable property.
ShowHeader Gets or sets whether to show the DXCollectionView header. This is a bindable property.
SortDescriptions Specifies how to sort data items in the view.
Style Gets or sets the unique Style for this element. Inherited from NavigableElement.
StyleClass Gets or sets the style classes for the element. Inherited from NavigableElement.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
TapCommand Gets or sets the command executed when a user taps the DXCollectionView. This is a bindable property.
TapConfirmedCommand Gets or sets the command that confirms a single-tap action (thus times out the second tap for a double-tap gesture). This is a bindable property.
TranslationX Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement.
TranslationY Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement.
Triggers Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
UseRippleEffect Gets or sets whether to show ripple effects when a users taps a DXCollectionView item. This is a bindable property.
VerticalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
VisibleItemCount Gets the total number of items displayed in the view.
Visual Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement.
Width Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement.
WidthRequest Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement.
X Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement.
Y Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement.

Methods

Name Description
ApplyBindings() protected Applies all the current bindings to BindingContext. Inherited from BindableObject.
BatchBegin() Signals the start of a batch of changes to the elements properties. This can benefit performance if a bigger number of property values are changed. Inherited from VisualElement.
BatchCommit() Signals the end of a batch of commands to the element and that those commands should now be committed. Inherited from VisualElement.
BeginUpdate() Locks the DXCollectionView to prevent its visual updates until the EndUpdate method is called.
ChangeVisualState() protected Changes the current visual state based on this elements current property values. Inherited from VisualElement.
ClearValue(BindableProperty) Clears any value that is previously set for a bindable property. Inherited from BindableObject.
ClearValue(BindablePropertyKey) Clears any value that is previously set for a bindable property, identified by its key. Inherited from BindableObject.
CoerceValue(BindableProperty)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject.
CoerceValue(BindablePropertyKey)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject.
CollapseAllGroups(Boolean) Collapses all groups of items.
CollapseGroup(Int32, Boolean) Collapses the specified group of items.
DeleteItem(Int32) Deletes the specified item by its handle.
EffectIsAttached(String) For internal use by .NET MAUI. Inherited from Element.
EndUpdate() Unlocks the DXCollectionView after the BeginUpdate method call and forces an immediate visual update.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
ExpandAllGroups(Boolean) Expands all groups of items.
ExpandGroup(Int32, Boolean) Expands the specified group of items.
FindByName(String) Returns the element that has the specified name. Inherited from Element.
FindItemHandle(Object) Returns the handle of the collection view item that correspond to the specified data source object.
FindItemHandle(Predicate<Object>) Returns the handle of the first item that matches the specified criteria.
Focus() Attempts to set focus to this element. Inherited from VisualElement.
GetChildElements(Point) Gets the child elements that are visually beneath the specified point. Inherited from View.
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.
GetGroupDisplayText(Int32) Returns the text displayed in the specified group header.
GetGroupValue(Int32) Returns the data value for which the group is created.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetItem(Int32) Returns an object that specifies a record in the CollectionView’s underlying data source.
GetItemBySourceIndex(Int32) Returns the data source object by its index.
GetItemHandle(Int32) Returns the handle of an item by its index in the data source.
GetItemHandleByVisibleIndex(Int32) Returns the handle of the item by its visible index.
GetItemSourceIndex(Int32) Returns the source index of the item by its handle.
GetItemVisibleIndex(Int32) Returns the visible index of the item by its handle.
GetParentItemHandle(Int32) Returns the handle of the item’s parent that corresponds to the specified record in the data source.
GetType() Gets the Type of the current instance. Inherited from System.Object.
GetValue(BindableProperty) Returns the value that is contained in the given bindable property. Inherited from BindableObject.
HideSwipeItems(Boolean) Hides the swipe item menu.
Initialize() Initializes the DXCollectionView from XAML. Inherited from DXCollectionViewBase.
InvalidateMeasure() protected Marks the current measure of an element as invalidated. Inherited from VisualElement.
InvalidateMeasureNonVirtual(InvalidationTrigger) Invalidates the measure of an element. Inherited from VisualElement.
InvalidateMeasureOverride() protected Provides a way to allow subclasses (e.g., Layout) to override InvalidateMeasure() Inherited from VisualElement.
IsGroupCollapsed(Int32) Indicates whether the specified group of items is collapsed.
IsGroupHeader(Int32) Checks whether the specified item is a group header.
IsSet(BindableProperty) Determines whether or not a bindable property exists and has a value set. Inherited from BindableObject.
Measure(Double, Double, MeasureFlags) Returns the minimum size that an element needs in order to be displayed on the device. Inherited from VisualElement.
MeasureOverride(Double, Double) protected Allows subclasses to implement custom Measure logic during a controls measure pass. Inherited from VisualElement.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
IElementController.SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
MoveItem(Int32, Int32, Action, Boolean) Moves the item with the specified index to the specified position within the DXCollectionView with the specified action and animation.
OnChildAdded(Element) protected Invoked when a child object is added to this element. Inherited from VisualElement.
OnChildRemoved(Element, Int32) protected Invoked when a child object is removed from this element. Inherited from VisualElement.
OnChildrenReordered() protected Raises the ChildrenReordered event. Inherited from VisualElement.
OnMeasure(Double, Double) protected Method that is called when a layout measurement happens. Inherited from VisualElement.
OnPropertyChanging(String) protected Raises the PropertyChanging event. Inherited from BindableObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
RefreshData() Updates the collection view’s data.
RefreshItem(Int32) Refreshes the collection view item with the specified handle.
RemoveBinding(BindableProperty) Removes a previously set binding from a bindable property. Inherited from BindableObject.
RemoveDynamicResource(BindableProperty) Removes a previously set dynamic resource. Inherited from Element.
ScrollTo(Int32, DXScrollToPosition) Scrolls the view to make the specified item visible. Inherited from DXCollectionViewBase.
ScrollTo(Int32) Scrolls the view to make the specified item visible.
SetBinding(BindableProperty, BindingBase) Assigns a binding to a bindable property. Inherited from BindableObject.
SetDynamicResource(BindableProperty, String) Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. Inherited from Element.
SetInheritedBindingContext(BindableObject, Object) static Sets the inherited context to a nested element. Inherited from BindableObject.
SetValue(BindableProperty, Object) Sets the value of the specified bindable property. Inherited from BindableObject.
SetValue(BindablePropertyKey, Object) Sets the value of the specified bindable property. Inherited from BindableObject.
SetValueCore(BindableProperty, Object, SetValueFlags) For internal use by the Microsoft.Maui.Controls platform. Inherited from BindableObject.
SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
SetValueFromRenderer(BindablePropertyKey, Object) For internal use by .NET MAUI. Inherited from Element.
ShowDetailEditForm(Int32, Boolean) Invokes an edit form for a CollectionView item with the specified handle.
ShowDetailForm(Int32, Boolean) Invokes a view form for a CollectionView item with the specified handle.
ShowDetailNewItemForm(Boolean) Invokes a form used to create a new CollectionView item.
ShowFilteringUIForm() Invokes the form that allows users to filter CollectionView items.
SizeAllocated(Double, Double) protected Method that is called during a layout cycle to signal the start of a sub-tree layout. Inherited from VisualElement.
ToString() Returns a string that represents the current object. Inherited from System.Object.
UnapplyBindings() protected Removes all current bindings from the current context. Inherited from BindableObject.
Unfocus() Unsets keyboard focus on this element. Inherited from VisualElement.

Events

Name Description
BatchCommitted Occurs when a batch of property changes have been committed by calling BatchCommit(). Inherited from VisualElement.
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from BindableObject.
ChildAdded Raised whenever a child element is added to the element. Inherited from Element.
ChildRemoved Raised whenever a child element is removed from the element. Inherited from Element.
ChildrenReordered Occurs when the order of this element’s children changes. Inherited from VisualElement.
CompleteItemDragDrop Occurs after a drag-and-drop operation is completed.
CreateDetailFormViewModel Occurs before the detail view or edit form is invoked.
DescendantAdded Raised whenever a child element is added to the element’s subtree. Inherited from Element.
DescendantRemoved Raised whenever a child element is removed from the elements subtree. Inherited from Element.
DetailFormShowing Occurs before the DXCollectionView invokes a detail form.
DoubleTap Occurs when a user taps a collection view item twice.
DragItem Occurs when a user taps 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.
FilteringUIFormShowing Occurs before the filter form is invoked and allows you to customize its options.
FocusChangeRequested Occurs when a focus change is requested. Inherited from VisualElement.
Focused Occurs when this element is focused. Inherited from VisualElement.
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.
LongPress Occurs when a user taps and holds an item within the collection view.
MeasureInvalidated Occurs when the current measure of an element has been invalidated. Inherited from VisualElement.
PropertyChanged Occurs when a property value changes. Inherited from BindableObject.
PropertyChanging Occurs when a property value is changing. Inherited from BindableObject.
PullToRefresh Occurs when a user pulls the CollectionView down to refresh its content.
Scrolled Fires after a DXCollectionView is scrolled.
SelectionChanged Occurs when the item selection is changed.
SizeChanged Occurs when the size of an element changed. Inherited from VisualElement.
SwipeItemShowing Fires when a swipe item is about to be shown when a user swipes a row from left to right or from right to left, and allows you to cancel the action.
Tap Occurs when a user taps the view.
TapConfirmed Occurs when a single tap is confirmed (the wait for the second tap in a double-tap gesture timed out).
Unfocused Occurs when this element is unfocused. Inherited from VisualElement.
ValidateAndSave Allows you to validate data item values before they are committed to the data source.
See Also