Back to Devexpress

DataGridView.ShowDetailEditForm(Int32, Boolean) Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-dot-showdetaileditform-x28-system-dot-int32-system-dot-boolean-x29.md

latest1.7 KB
Original Source

DataGridView.ShowDetailEditForm(Int32, Boolean) Method

Invokes an edit form for a DataGridView row with the specified handle.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

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

Parameters

NameTypeDescription
rowHandleInt32

The handle of the row 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 invokes the detail edit form when a user taps a grid row:

csharp
private void grid_Tap(object sender, DevExpress.Maui.DataGrid.DataGridGestureEventArgs e) {
    grid.ShowDetailEditForm(e.RowHandle);
}

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

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace