Back to Devexpress

GridOptionsSelection.EnableAppearanceFocusedRow Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsselection-4dd84abd.md

latest3.2 KB
Original Source

GridOptionsSelection.EnableAppearanceFocusedRow Property

Gets or sets whether the appearance settings for a focused row are enabled.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool EnableAppearanceFocusedRow { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property EnableAppearanceFocusedRow As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the appearance settings for a focused row are enabled; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnableAppearanceFocusedRow
GridView

.OptionsSelection .EnableAppearanceFocusedRow

|

Remarks

The EnableAppearanceFocusedRow property specifies whether the appearance settings specified by the GridViewAppearances.FocusedRow property are in effect. When this property is set to false , the settings specified by the GridViewAppearances.FocusedRow property are ignored. In this case, the focused row’s appearance can be specified by the GridViewAppearances.Row, GridViewAppearances.EvenRow and GridViewAppearances.OddRow properties.

If the EnableAppearanceFocusedRow option is enabled, the focused row appearance settings take priority over appearance settings provided by handling the GridView.RowStyle event.

See Also

RowStyle

EnableAppearanceFocusedCell

EnableAppearanceHideSelection

GridOptionsSelection Class

GridOptionsSelection Members

DevExpress.XtraGrid.Views.Grid Namespace