Skip to main content

DataGridView.CloseEditor(Boolean) Method

Closes a cell in-place editor.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public bool CloseEditor(
    bool applyChanges
)

Parameters

Name Type Description
applyChanges Boolean

true to apply a cell value modified in an in-place editor; otherwise, false.

Returns

Type Description
Boolean

true if the in-place editor is closed; otherwise false.

Remarks

Use the DataGridView.EditorShowMode property to allow users to modify grid data in cell in-place editors. This property specifies a gesture that should invoke an in-place editor for a cell.

To open and close a cell in-place editor in code, use the OpenEditor and CloseEditor methods.

See Also