Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.OptionsScrollAnnotations Property

Provides access to options specific to scrollbar annotations.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#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