共用方式為


TileBrush.AlignmentX 屬性

定義

取得或設定 TileBrush 基底圖格中內容的水準對齊方式。

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"/>

屬性值

值,指定 TileBrush 內容在其基底圖格中的水準位置。 預設值為 Center

適用於