-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.BringIntoViewOptions.HorizontalAlignmentRatio |
winrt property |
Controls the positioning of the vertical axis of the TargetRect
with respect to the vertical axis of the viewport. The value is clamped from 0.0f to 1.0f with 0.0f representing the left vertical edge and 1.0f representing the right vertical edge. By default this is set to 0.0f.
A value that specifies the positioning of the vertical axis of the TargetRect
with respect to the vertical axis of the viewport. The default is 0.0f.
A value of 0.0f indicate the TargetRect
should be left-aligned in the viewport. A value of 1.0f indicates it should be right-aligned. A value of 0.5 indicates the TargetRect
is horizontally centered in the viewport.