TreeList.ShowButtonMode Property
Gets or sets a value that specifies which column cells display editor buttons.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
[DefaultValue(ShowButtonModeEnum.ShowForFocusedCell)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Show |
Show |
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 Tree |
Show |
Buttons are always displayed. |
Show |
Buttons are displayed for all cell editors in the focused row. |
Show |
Buttons are displayed only for the focused Tree |
Show |
Buttons are displayed only when a cell editor is active. |
#Remarks
The TreeListColumn.ShowButtonMode property allows you to override the TreeList.ShowButtonMode setting for individual columns.
The TreeList.ShowButtonMode and TreeListColumn.ShowButtonMode properties are only in effect for column editors that have the TreeListColumn.ColumnEdit.TextEditStyle option set to Standard.