windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection-7ba6996e.md
Gets or sets whether the appearance settings for the focused node are enabled.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool EnableAppearanceFocusedRow { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property EnableAppearanceFocusedRow As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the appearance settings for the focused node are enabled; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to EnableAppearanceFocusedRow |
|---|---|
| TreeList |
.OptionsSelection .EnableAppearanceFocusedRow
|
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.
tree.OptionsSelection.EnableAppearanceFocusedCell = false;
tree.OptionsSelection.EnableAppearanceFocusedRow = false;
tree.OptionsMenu.EnableColumnMenu = false;
tree.OptionsSelection.EnableAppearanceFocusedCell = False
tree.OptionsSelection.EnableAppearanceFocusedRow = False
tree.OptionsMenu.EnableColumnMenu = False
See Also
TreeListOptionsSelection Class