Skip to main content

DataGridView.ShowDetailForm(Int32, Boolean) Method

Invokes a view form for a DataGridView row with the specified handle.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public void ShowDetailForm(
    int rowHandle,
    bool animated = false
)

Parameters

Name Type Description
rowHandle Int32

The edit row handle.

Optional Parameters

Name Type Default Description
animated Boolean False

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

Remarks

The following code invokes the default View form for a tapped grid row:

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

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

See Also