Back to Devexpress

TreeListOptionsSelection.EnableAppearanceHotTrackedRow Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection-85106cea.md

latest4.6 KB
Original Source

TreeListOptionsSelection.EnableAppearanceHotTrackedRow Property

Gets or sets whether the appearance settings for the hovered (hot-tracked) node are enabled. Default is equivalent to False.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean EnableAppearanceHotTrackedRow { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property EnableAppearanceHotTrackedRow As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True, if the appearance settings for the hovered (hot-tracked) node are enabled; otherwise, Default or False.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnableAppearanceHotTrackedRow
TreeList

.OptionsSelection .EnableAppearanceHotTrackedRow

|

Remarks

If the EnableAppearanceHotTrackedRow option is enabled, the hot-tracked node is painted according to the HotTrackedRow appearance settings.

You can only specify the background and foreground colors in the appearance settings.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableAppearanceHotTrackedRow 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.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/GanttItem/GanttItemControlProvider.cs#L46

csharp
gantt.OptionsSelection.EnableAppearanceFocusedRow = false;
gantt.OptionsSelection.EnableAppearanceHotTrackedRow = DevExpress.Utils.DefaultBoolean.False;
gantt.OptionsMenu.EnableColumnMenu = false;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/GanttItem/GanttItemControlProvider.vb#L43

vb
gantt.OptionsSelection.EnableAppearanceFocusedRow = False
gantt.OptionsSelection.EnableAppearanceHotTrackedRow = DevExpress.Utils.DefaultBoolean.False
gantt.OptionsMenu.EnableColumnMenu = False

See Also

HotTrackedRow

TreeListOptionsSelection Class

TreeListOptionsSelection Members

DevExpress.XtraTreeList Namespace