TreeList.ShowButtonMode Property
Gets or sets a value determining the manner in which the editor buttons of TreeList cells are displayed.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.1.dll
Declaration
[DefaultValue(ShowButtonModeEnum.ShowForFocusedCell)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ShowButtonModeEnum | **ShowForFocusedCell** | A ShowButtonModeEnum enumerator value that specifies the manner in which editor buttons are displayed. |
Available values:
Name | Description |
---|---|
Default | Specifies the default behavior for all columns - buttons are displayed only for the focused cell. If a column’s TreeListColumn.ShowButtonMode property is specified, the behavior specified by the Tree List is overridden. |
ShowAlways | Buttons are always displayed. |
ShowForFocusedRow | Buttons are displayed for all cell editors in the focused row. |
ShowForFocusedCell | Buttons are displayed only for the focused TreeList cell. |
ShowOnlyInEditor | Buttons are displayed only when a cell editor is active. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowButtonMode 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.