ScrollViewerBringIntoViewOnFocusChange Property
Gets or sets a value that determines whether the
ScrollViewer uses a
bring-into-view scroll behavior when an item in the view gets focus.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool BringIntoViewOnFocusChange { get; set; }
Public Property BringIntoViewOnFocusChange As Boolean
Get
Set
member BringIntoViewOnFocusChange : bool with get, set
Property Value
Boolean
true to use a behavior that brings focused items into view. false to use a behavior
that focused items do not automatically scroll into view. The default is true.
BringIntoViewOnFocusChange can either be set explicitly on a
ScrollViewer, or a the attached
ScrollViewer.BringIntoViewOnFocusChange
property can be set on an element
that hosts a
ScrollViewer.