Skip to main content

TreeList.OptionsScrollAnnotations Property

Provides access to options specific to scrollbar annotations.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public TreeListOptionsScrollAnnotations OptionsScrollAnnotations { get; }

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