A newer version of this page is available. Switch to the current version.

TreeListColumn.ShowButtonMode Property

Gets or sets a value specifying which column cells display editor buttons.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[DefaultValue(ShowButtonModeEnum.Default)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }

Property Value

Type Default Description
ShowButtonModeEnum

Default

A ShowButtonModeEnum enumeration value specifying 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.

Remarks

You can specify which cells display editor buttons using the treelist's TreeList.ShowButtonMode property. The column's ShowButtonMode property should be used to override these settings for individual columns. By default, this property value is ShowButtonModeEnum.Default, which means that columns use Tree List settings.

See Also