ShowButtonModeEnum Enum
Lists values specifying the cells in which editor buttons are displayed
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v18.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowButtonModeEnum enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.