From f5e950980c8a8c0d840c06e8aa3e32b3618bded8 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Fri, 19 May 2023 09:35:54 +0200 Subject: [PATCH] Add info on attached property usage. --- src/Avalonia.Controls/ScrollViewer.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Avalonia.Controls/ScrollViewer.cs b/src/Avalonia.Controls/ScrollViewer.cs index b8a5c589f0..1b9cb7de34 100644 --- a/src/Avalonia.Controls/ScrollViewer.cs +++ b/src/Avalonia.Controls/ScrollViewer.cs @@ -188,6 +188,12 @@ namespace Avalonia.Controls /// 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. /// + /// + /// can either be set explicitly on a + /// , or a the attached + /// ScrollViewer.BringIntoViewOnFocusChange property can be set on an element + /// that hosts a . + /// public bool BringIntoViewOnFocusChange { get => GetValue(BringIntoViewOnFocusChangeProperty);