Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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