Skip to main content

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

GridViewAppearances.FocusedCell Property

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

Namespace: DevExpress.XtraGrid.Views.Grid

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