Skip to main content

PropertyGridControl.ShowEditor(Boolean) Method

Activates the editor nested in a focused cell.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public void ShowEditor(
    bool selectAll = false
)

Optional Parameters

Name Type Default Description
selectAll Boolean False

true to select the editor’s content; otherwise, false.

Remarks

To programmatically activate the cell’s editor, you should focus the cell and call the ShowEditor method. This method raises the PropertyGridControl.ShowingEditor event, allowing you to prevent showing editors for individual cells, thus preventing their values from being edited. After the editor has been shown, the property grid fires the PropertyGridControl.ShownEditor event.

See Also