CompositionSurfaceBrush.HorizontalAlignmentRatio CompositionSurfaceBrush.HorizontalAlignmentRatio CompositionSurfaceBrush.HorizontalAlignmentRatio CompositionSurfaceBrush.HorizontalAlignmentRatio Property

Definition

Controls the positioning of the vertical axis of content with respect to the vertical axis of the SpriteVisual. 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 of the SpriteVisual. By default this is set to 0.0f.

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

void HorizontalAlignmentRatio(float horizontalalignmentratio);
public float HorizontalAlignmentRatio { get; set; }
Public ReadWrite Property HorizontalAlignmentRatio As float

Property Value

float float

The positioning of the vertical axis of content with respect to the vertical axis of the SpriteVisual. 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 of the SpriteVisual. The default value is 0.5f.