Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridListEditor.AppearanceFocusedCellMode Property

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

Namespace: DevExpress.ExpressApp.Win.Editors

Assembly: DevExpress.ExpressApp.Win.v24.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