Back to Devexpress

PropertyGridControl.ShowEditorButtons Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-e8345546.md

latest2.7 KB
Original Source

PropertyGridControl.ShowEditorButtons Property

Gets or sets whether to display the buttons of inactive editors embedded into grid cells. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public bool ShowEditorButtons { get; set; }
vb
Public Property ShowEditorButtons As Boolean

Property Value

TypeDescription
Boolean

true, to display the editor buttons when the editor is not active; otherwise, false.

|

Remarks

Use the ShowEditorButtons property to control the visibility of the editor buttons.

To control the buttons visibility of an individual in-place editor, use the property‘s PropertyDefinition.ShowEditorButtons property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowEditorButtons property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-property-grid-use-data-annotations-to-define-property-editor/CS/PropertyGridEditorAttribute/MainWindow.xaml#L59

xml
ShowCategories="False"
ShowEditorButtons="True"
SelectedObject="{Binding Department}"/>

See Also

PropertyGridControl Class

PropertyGridControl Members

DevExpress.Xpf.PropertyGrid Namespace