Back to Devexpress

VGridControlBase.ShowButtonMode Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-e7bda11c.md

latest2.1 KB
Original Source

VGridControlBase.ShowButtonMode Property

Gets or sets the manner in which editor buttons are displayed within a vertical grid.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[DefaultValue(ShowButtonModeEnum.ShowForFocusedCell)]
[XtraSerializableProperty]
public ShowButtonModeEnum ShowButtonMode { get; set; }
vb
<DefaultValue(ShowButtonModeEnum.ShowForFocusedCell)>
<XtraSerializableProperty>
Public Property ShowButtonMode As ShowButtonModeEnum

Property Value

TypeDefaultDescription
ShowButtonModeEnumShowForFocusedCell

A ShowButtonModeEnum enumeration value that specifies the manner in which editor buttons are displayed within a vertical grid.

|

Available values:

NameDescription
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.

|

See Also

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace