GridListEditor.AppearanceFocusedCellMode Property
Specifies whether the appearance settings for the focused cell are enabled.
Namespace: DevExpress.ExpressApp.Win.Editors
Assembly: DevExpress.ExpressApp.Win.v24.1.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
NuGet Package: DevExpress.ExpressApp.Win
Declaration
Property Value
Type | Description |
---|---|
AppearanceFocusedCellMode | An AppearanceFocusedCellMode enumeration value specifying whether the appearance settings for the focused cell are enabled. |
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