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
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
#Declaration
public AppearanceFocusedCellMode AppearanceFocusedCellMode { get; set; }
#Property Value
Type | Description |
---|---|
Appearance |
An Appearance |
Available values:
Name | Description |
---|---|
Smart | The appearance settings for a Grid |
Enabled | The appearance settings for a Grid |
Disabled | The appearance settings for a Grid |
#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;
}
}
}