Skip to main content
All docs
V25.1
  • Tag

    ColumnBase.EditorButtonShowMode Property

    Gets or sets when editor buttons are displayed within cells. This is a dependency property.

    Namespace: DevExpress.Xpf.Grid

    Assembly: DevExpress.Xpf.Grid.v25.1.Core.dll

    NuGet Package: DevExpress.Wpf.Grid.Core

    Declaration

    public EditorButtonShowMode? EditorButtonShowMode { get; set; }

    Property Value

    Type Default Description
    Nullable<EditorButtonShowMode> Null

    An EditorButtonShowMode enumeration value that specifies when editor buttons are displayed within cells.

    Available values:

    Name Description
    ShowOnlyInEditor

    Displays editor buttons only when a cell editor is active.

    ShowForFocusedCell

    Displays editor buttons only for the focused cell.

    ShowForFocusedRow

    Displays editor buttons only for cells within the focused row.

    ShowAlways

    Displays editor buttons for all cells within a column.

    Remarks

    The ColumnBase.EditorButtonShowMode property has a higher priority than the DataViewBase.EditorButtonShowMode property.

    If you set the ColumnBase.EditorButtonShowMode property to null, the column applies the DataViewBase.EditorButtonShowMode property’s value.

    See Also