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

GridListEditor.AppearanceFocusedCellMode Property

Specifies whether the appearance settings for the focused cell are enabled.

Namespace: DevExpress.ExpressApp.Win.Editors

Assembly: DevExpress.ExpressApp.Win.v18.2.dll

Declaration

public AppearanceFocusedCellMode AppearanceFocusedCellMode { get; set; }

Property Value

Type Description
AppearanceFocusedCellMode

An AppearanceFocusedCellMode enumeration value specifying whether the appearance settings for the focused cell are enabled.

Available values:

Name Description
Smart

The appearance settings for a GridListEditor‘s focused cell are enabled when there is more that one visible column.

Enabled

The appearance settings for a GridListEditor‘s focused cell are enabled.

Disabled

The appearance settings for a GridListEditor‘s focused cell are ignored when the cell is not in edit mode.

Remarks

The following code snippet demonstrates how to disable appearance settings for the focused cell in view mode for all List Views that use GridListEditor.

using System;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Win.Editors;
//...
public class MyController : ViewController<ListView> {
    protected override void OnViewControlsCreated() {
        base.OnViewControlsCreated();
        GridListEditor gridEditor = View.Editor as GridListEditor;
        if (gridEditor != null) {
            gridEditor.AppearanceFocusedCellMode = AppearanceFocusedCellMode.Disabled;
        }
    }
}
See Also