Skip to main content

TreeListOptionsSelection.EnableAppearanceFocusedRow Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool EnableAppearanceFocusedRow { get; set; }

Property Value

Type Default Description
Boolean true

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

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableAppearanceFocusedRow
TreeList
.OptionsSelection .EnableAppearanceFocusedRow

Remarks

This property specifies whether the appearance settings provided by the TreeListAppearanceCollection.FocusedRow property are in effect. If the EnableAppearanceFocusedRow property is set to false, the appearance settings used to paint the focused node are ignored. In this case the focused node’s appearance can be specified by the TreeListAppearanceCollection.Row, TreeListAppearanceCollection.EvenRow and TreeListAppearanceCollection.OddRow properties.

If the cells in a focused node are custom painted cells or their appearance settings are specified in the TreeList.NodeCellStyle event handler, the appearance settings provided by the TreeListAppearanceCollection.FocusedRow property are ignored regardless of the EnableAppearanceFocusedRow property’s value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableAppearanceFocusedRow property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also