TileBrush.AlignmentY Property

Definition

Gets or sets the vertical alignment of content in the TileBrush base tile.

Equivalent WinUI property: Microsoft.UI.Xaml.Media.TileBrush.AlignmentY.

public:
 property AlignmentY AlignmentY { AlignmentY get(); void set(AlignmentY value); };
AlignmentY AlignmentY();

void AlignmentY(AlignmentY value);
public AlignmentY AlignmentY { get; set; }
var alignmentY = tileBrush.alignmentY;
tileBrush.alignmentY = alignmentY;
Public Property AlignmentY As AlignmentY
<brush AlignmentY="Top"/>
-or-
<brush AlignmentY="Center"/>
-or-
<brush AlignmentY="Bottom"/>

Property Value

AlignmentY

A value that specifies the vertical position of TileBrush content in its base tile. The default value is Center.

Applies to