Skip to main content

GridViewAppearances.FocusedCell Property

Gets the appearance settings used to paint the currently focused row cell.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public AppearanceObject FocusedCell { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings used to paint the currently focused row cell.

Remarks

The appearance settings specified by the FocusedCell property take priority over the settings specified by the GridViewAppearances.FocusedRow, GridViewAppearances.Row, GridViewAppearances.EvenRow and GridViewAppearances.OddRow properties. It also overrides the appearance settings specified by the column’s GridColumn.AppearanceCell property provided that the AppearanceOptionsEx.HighPriority option of the column’s appearance object is disabled.

To disable the appearance settings specified by the FocusedCell property, set the GridOptionsSelection.EnableAppearanceFocusedCell property to false. In this case, the focused cell will be painted using the same appearance settings as all the cells within the focused row.

For more information on appearances, see the Appearance and Conditional Formatting topic.

See Also