Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.08 KB

scrollviewer_bringintoviewonfocuschange.md

File metadata and controls

31 lines (22 loc) · 1.08 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.ScrollViewer.BringIntoViewOnFocusChange
winrt property

Microsoft.UI.Xaml.Controls.ScrollViewer.BringIntoViewOnFocusChange

-description

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.

-xaml-syntax

<ScrollViewer BringIntoViewOnFocusChange="bool" />
-or-
<object ScrollViewer.BringIntoViewOnFocusChange="bool"/>

-property-value

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.

-remarks

For XAML usage, BringIntoViewOnFocusChange can either be an attribute on an explicit ScrollViewer element, or a ScrollViewer.BringIntoViewOnFocusChange attached property usage on an element that is a child of a control that supports scrollview implicitly in its template.

-examples

-see-also