Share via


AnnotatedScrollBar.ScrollController Property

Definition

Gets an interface that exposes IScrollController members.

public:
 property IScrollController ^ ScrollController { IScrollController ^ get(); };
IScrollController ScrollController();
public IScrollController ScrollController { get; }
var iScrollController = annotatedScrollBar.scrollController;
Public ReadOnly Property ScrollController As IScrollController

Property Value

An interface that exposes IScrollController members.

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>

Remarks

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

Applies to