-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.AnnotatedScrollBar.ScrollController |
winrt property |
Gets an interface that exposes IScrollController
members.
An interface that exposes IScrollController
members.
Use this property to connect the AnnotatedScrollBar
to properties of type IScrollController, as shown in the example section.
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>