TreeList.OptionsScrollAnnotations Property

Provides access to options specific to scrollbar annotations.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Property Value

Type Description
DevExpress.XtraTreeList.TreeListOptionsScrollAnnotations

Scrollbar annotation options.

Remarks

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