TreeViewAutoScrollToSelectedItem Property
Gets or sets a value indicating whether to automatically scroll to newly selected items.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool AutoScrollToSelectedItem { get; set; }
Public Property AutoScrollToSelectedItem As Boolean
Get
Set
member AutoScrollToSelectedItem : bool with get, set
Property Value
Boolean
This property is of limited use with
TreeView as it will only scroll
to realized items. To scroll to a non-expanded item, you need to ensure that its
ancestors are expanded.