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

DrawFocusRectStyle Enum

Contains values specifying how the focus rectangle is painted within Grid Views.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public enum DrawFocusRectStyle

#Members

Name Description
None

The focus rectangle is not painted.

RowFocus

The focus rectangle is painted around the focused row, excluding the preview section (if it’s visible).

CellFocus

The focus rectangle is painted around the focused cell.

RowFullFocus

The focus rectangle is painted around the focused row, encompassing the preview section (if it’s visible).

#Related API Members

The following properties accept/return DrawFocusRectStyle values:

#Remarks

Values listed by this enumeration are used to set the GridView.FocusRectStyle property value.

See Also