Back to Devexpress

DataGridView.ShowDetailForm(Int32, Boolean) Method

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

latest1.6 KB
Original Source

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

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

Parameters

NameTypeDescription
rowHandleInt32

The edit row handle.

|

Optional Parameters

NameTypeDefaultDescription
animatedBooleanFalse

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:

csharp
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

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace