VGridControlBase.ShowButtonMode Property
Gets or sets the manner in which editor buttons are displayed within a vertical grid.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
[DefaultValue(ShowButtonModeEnum.ShowForFocusedCell)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ShowButtonModeEnum | ShowForFocusedCell | A ShowButtonModeEnum enumeration value that specifies the manner in which editor buttons are displayed within a vertical grid. |
Available values:
Name | Description |
---|---|
ShowAlways | Editor buttons are displayed for all cells within the control |
ShowForFocusedRow | Editor buttons are displayed for cells that reside within the focused row. |
ShowForFocusedCell | Editor buttons are displayed for the focused cell only. |
ShowForFocusedRecord | Editor buttons are displayed for cells that reside within the focused record. |
ShowOnlyInEditor | Editor buttons are displayed only when a cell editor is active. |