Back to Devexpress

DataGridView.CloseEditor(Boolean) Method

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

latest1.5 KB
Original Source

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

csharp
public bool CloseEditor(
    bool applyChanges
)

Parameters

NameTypeDescription
applyChangesBoolean

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

|

Returns

TypeDescription
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

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace