Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 991 Bytes

bringintoviewoptions_horizontalalignmentratio.md

File metadata and controls

26 lines (16 loc) · 991 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.BringIntoViewOptions.HorizontalAlignmentRatio
winrt property

Microsoft.UI.Xaml.BringIntoViewOptions.HorizontalAlignmentRatio

-description

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.

-property-value

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.

-remarks

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.

-see-also

-examples