CompositionViewBox.VerticalAlignmentRatio Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the vertical alignment ratio of the view box.
public:
property float VerticalAlignmentRatio { float get(); void set(float value); };
float VerticalAlignmentRatio();
void VerticalAlignmentRatio(float value);
public float VerticalAlignmentRatio { get; set; }
var single = compositionViewBox.verticalAlignmentRatio;
compositionViewBox.verticalAlignmentRatio = single;
Public Property VerticalAlignmentRatio As Single
Property Value
Single
float
The vertical alignment ratio of the view box.
The default value is set to 0.5.