Skip to main content

ShowButtonModeEnum Enum

Lists values specifying the cells in which editor buttons are displayed

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public enum ShowButtonModeEnum

Members

Name Description
Default

If a column’s GridColumn.ShowButtonMode property is set to this value, the column uses the View’s settings. Assigning this value to the View’s ColumnViewOptionsView.ShowButtonMode property is equivalent to assigning the ShowForFocusedCell value.

ShowAlways

Editor buttons are displayed for all cells within the column/view.

ShowForFocusedRow

Buttons are displayed for cells that reside within the focused row.

ShowForFocusedCell

Editor buttons are displayed for the focused cell only.

ShowOnlyInEditor

Buttons are displayed only when a cell editor is active.

Related API Members

The following properties accept/return ShowButtonModeEnum values:

Remarks

Values listed by this enumeration can be used to set the ColumnViewOptionsView.ShowButtonMode and GridColumn.ShowButtonMode properties. The first one identifies the View cells that should display their editor buttons. The latter can be used to override these settings for an individual column.

See Also