ColumnView.ShowButtonMode Property
OBSOLETE
Use the OptionsView.ShowButtonMode property instead.
Gets or sets a value specifying editor button display mode.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the OptionsView.ShowButtonMode property instead.")]
public ShowButtonModeEnum ShowButtonMode { get; set; }
Property Value
Type | Description |
---|---|
ShowButtonModeEnum | A ShowButtonModeEnum enumeration value specifying how editor buttons are displayed within a View. |
Available values:
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. |
Remarks
This property is obsolete. Use the ColumnViewOptionsView.ShowButtonMode property instead.