Skip to main content

DXCollectionView Methods

A collection view.
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 Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from 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 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 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() even though the interface has to be explicitly implemented to avoid conflict with the InvalidateMeasure() method.

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.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from 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 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 Object.
UnapplyBindings() protected Removes all current bindings from the current context. Inherited from BindableObject.
Unfocus() Unsets keyboard focus on this element. Inherited from VisualElement.
See Also