Skip to main content
A newer version of this page is available. .

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

Declaration

[Browsable(false)]
[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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowButtonMode property.

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.

See Also