Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.03 KB

annotatedscrollbar_scrollcontroller.md

File metadata and controls

36 lines (23 loc) · 1.03 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.AnnotatedScrollBar.ScrollController
winrt property

Microsoft.UI.Xaml.Controls.AnnotatedScrollBar.ScrollController

-description

Gets an interface that exposes IScrollController members.

-property-value

An interface that exposes IScrollController members.

-remarks

Use this property to connect the AnnotatedScrollBar to properties of type IScrollController, as shown in the example section.

-see-also

-examples

This example shows how to connect an AnnotatedScrollBar to the VerticalScrollController property of an ItemsView.

<Grid ColumnDefinitions="*,Auto">
    <ItemsView VerticalScrollController="{x:Bind annotatedScrollBar.ScrollController}"/>
    <AnnotatedScrollBar x:Name="annotatedScrollBar" Grid.Column="1"/>
</Grid>