windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-7c0c37b1.md
Gets or sets a value that specifies which column cells display editor buttons.
Namespace : DevExpress.XtraTreeList.Columns
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(ShowButtonModeEnum.Default)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
<DefaultValue(ShowButtonModeEnum.Default)>
<XtraSerializableProperty>
Public Property ShowButtonMode As ShowButtonModeEnum
| Type | Default | Description |
|---|---|---|
| ShowButtonModeEnum | Default |
A value that specifies which column cells display editor buttons.
|
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.
|
You can use the TreeList.ShowButtonMode property to specify which cells display editor buttons.
The TreeListColumn.ShowButtonMode property’s default value is ShowButtonModeEnum.Default, which means that columns use the TreeList.ShowButtonMode value.
The TreeList.ShowButtonMode and TreeListColumn.ShowButtonMode properties are only in effect for column editors that have the TreeListColumn.ColumnEdit.TextEditStyle option set to Standard.
See Also