CompositionSurfaceBrush.VerticalAlignmentRatio CompositionSurfaceBrush.VerticalAlignmentRatio CompositionSurfaceBrush.VerticalAlignmentRatio CompositionSurfaceBrush.VerticalAlignmentRatio Property

Definition

Controls the positioning of the horizontal axis of content with respect to the horizontal axis of the SpriteVisual. The value is clamped from 0.0f to 1.0f with 0.0f representing the top horizontal edge and 1.0f representing the bottom horizontal edge of the SpriteVisual. The default value is 0.5f.

public : float VerticalAlignmentRatio { get; set; }
float VerticalAlignmentRatio();

void VerticalAlignmentRatio(float verticalalignmentratio);
public float VerticalAlignmentRatio { get; set; }
Public ReadWrite Property VerticalAlignmentRatio As float

Property Value

float float

The positioning of the horizontal axis of content with respect to the horizontal axis of the SpriteVisual.