A newer version of this page is available. Switch to the current version.

TreeList.OptionsScrollAnnotations Property

Provides access to options specific to scrollbar annotations.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll


[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public TreeListOptionsScrollAnnotations OptionsScrollAnnotations { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property OptionsScrollAnnotations As TreeListOptionsScrollAnnotations

Property Value

Type Description

Scrollbar annotation options.


The OptionsScrollAnnotations property provides access to options that allow you to enable/disable specific annotations.

  • ShowErrors — specifies whether to mark nodes with validation errors
  • ShowFocusedRow — specifies whether to mark the focused node
  • ShowSelectedRows — specifies whether to mark selected nodes
  • ShowCustomAnnotations — specifies whether to mark nodes with custom annotations provided using the TreeList.CustomScrollAnnotation event

Scrollbar annotations are disabled if a corresponding option is set to Default. Set the option to True to enable scrollbar annotations.

// Enable annotations for the focused row.
treeList.OptionsScrollAnnotations.ShowFocusedRow = DefaultBoolean.True;
See Also