Back to Devexpress

DXCollectionView.ShowDetailEditForm(Int32, Boolean) Method

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-dot-showdetaileditform-x28-system-dot-int32-system-dot-boolean-x29.md

latest1.7 KB
Original Source

DXCollectionView.ShowDetailEditForm(Int32, Boolean) Method

Invokes an edit form for a CollectionView item with the specified handle.

Namespace : DevExpress.Maui.CollectionView

Assembly : DevExpress.Maui.CollectionView.dll

NuGet Package : DevExpress.Maui.CollectionView

Declaration

csharp
public void ShowDetailEditForm(
    int itemHandle,
    bool animated = false
)

Parameters

NameTypeDescription
itemHandleInt32

The handle of the item that is being edited.

|

Optional Parameters

NameTypeDefaultDescription
animatedBooleanFalse

Specifies whether animation effects apply to the edit form when it is invoked.

|

Remarks

The following example shows the Edit form on an item tap:

csharp
private void collectionView_Tap(object sender, DevExpress.Maui.CollectionView.CollectionViewGestureEventArgs e) {
    collectionView.ShowDetailEditForm(e.ItemHandle);
}

For more information, refer to the following topic: Show Built-In Forms to Display, Create, and Edit Items.

See Also

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace