Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.01 KB

scrollpresenter_verticalanchorratio.md

File metadata and controls

32 lines (17 loc) · 1.01 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter.VerticalAnchorRatio
winrt property

Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter.VerticalAnchorRatio

-description

Determines the vertical position of the ScrollPresenter's anchor point with respect to the viewport. By default, the ScrollPresenter selects an element as its CurrentAnchor by identifying the element in its viewport nearest to the anchor point.

-property-value

A normalized value (0.0 to 1.0). The default is 0.0.

-remarks

A value of 0.0 represents the top-most point within the viewport. A value of 1.0 represents the bottom-most point within the viewport. A value of 0.5f represents the center-most point within the viewport.

When the value is 0.0 or 1.0, the ScrollPresenter applies special behavior when the scroll position is at the start or end of the scrollable area.

-see-also

-examples