ColumnViewOptionsView.ShowButtonMode Property

Gets or sets the display mode for in-place editor buttons.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(ShowButtonModeEnum.Default)]
[XtraSerializableProperty]
[DXCategory("Appearance")]
public ShowButtonModeEnum ShowButtonMode { get; set; }
<DefaultValue(ShowButtonModeEnum.Default)>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property ShowButtonMode As ShowButtonModeEnum

Property Value

Type Default Description
ShowButtonModeEnum

Default

The ShowButtonModeEnum value that specifies the mode in which the editor buttons are displayed in a View.

Property Paths

You can access this nested property as listed below:

Show 18 property paths
Object Type Path to ShowButtonMode
AdvBandedGridView
.OptionsView.ShowButtonMode
AdvBandedGridView
.OptionsView.ShowButtonMode
AdvBandedGridView
.OptionsView.ShowButtonMode
AdvBandedGridView
.OptionsView.ShowButtonMode
BandedGridView
.OptionsView.ShowButtonMode
BandedGridView
.OptionsView.ShowButtonMode
BandedGridView
.OptionsView.ShowButtonMode
ColumnView
.OptionsView.ShowButtonMode
CardView
.OptionsView.ShowButtonMode
CardView
.OptionsView.ShowButtonMode
GridView
.OptionsView.ShowButtonMode
GridView
.OptionsView.ShowButtonMode
LayoutView
.OptionsView.ShowButtonMode
LayoutView
.OptionsView.ShowButtonMode
TileView
.OptionsView.ShowButtonMode
TileView
.OptionsView.ShowButtonMode
WinExplorerView
.OptionsView.ShowButtonMode
WinExplorerView
.OptionsView.ShowButtonMode

Remarks

By default, in-place editor buttons are shown for the focused cell only. Use the ShowButtonMode property to change this behavior.

Individual columns can override the ShowButtonMode setting with their GridColumn.ShowButtonMode properties.

Regardless of the OptionsView.ShowButtonMode and GridColumn.ShowButtonMode settings, editor buttons are simultaneously shown in all cells that contain in-place editors with the RepositoryItemButtonEdit.TextEditStyle setting set to HideTextEdit. To show these editor buttons only in the focused row or focused cell, supply editors to grid cells dynamically, with the GridView.CustomRowCellEdit event.

See Also