Dela via


TileBrush.AlignmentX Property

Definition

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

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

void AlignmentX(AlignmentX value);
public AlignmentX AlignmentX { get; set; }
var alignmentX = tileBrush.alignmentX;
tileBrush.alignmentX = alignmentX;
Public Property AlignmentX As AlignmentX
<brush AlignmentX="Left"/>
-or-
<brush AlignmentX="Center"/>
-or-
<brush AlignmentX="Right"/>

Property Value

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

Applies to