ColumnViewOptionsView.ShowButtonMode Property
Gets or sets a value that specifies which column cells display editor buttons.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(ShowButtonModeEnum.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Show |
Default | A value that specifies which column cells display editor buttons. |
Available values:
Name | Description |
---|---|
Default | If a column’s Grid |
Show |
Editor buttons are displayed for all cells within the column/view. |
Show |
Buttons are displayed for cells that reside within the focused row. |
Show |
Editor buttons are displayed for the focused cell only. |
Show |
Buttons are displayed only when a cell editor is active. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Show |
---|---|
Column |
|
#Remarks
Use the GridColumn.ShowButtonMode property to override the OptionsView.ShowButtonMode
setting for individual columns.
The OptionsView.ShowButtonMode
and GridColumn.ShowButtonMode
properties are only in effect for column editors that have the GridColumn.ColumnEdit.TextEditStyle option set to Standard
.
Note
A column does not display edit buttons within its cells regardless of the view’s Options
setting if the view’s Editable option or the column’s Optionsfalse
.
A column always displays edit buttons within its cells if its Gridtrue
even if the view’s Editable option or the column’s Options