Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

See Also