Back to Devexpress

TreeListOptionsBehavior.AutoScrollOnSorting Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-1c56ae47.md

latest1.9 KB
Original Source

TreeListOptionsBehavior.AutoScrollOnSorting Property

Gets or sets whether the Tree List is automatically scrolled to the focused node on sorting.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AutoScrollOnSorting { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AutoScrollOnSorting As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the Tree List is automatically scrolled to the focused node on sorting; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoScrollOnSorting
TreeList

.OptionsBehavior .AutoScrollOnSorting

|

Remarks

To disable automatic scrolling to the focused node when sorting is applied, set the AutoScrollOnSorting option to false.

See Also

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace