共用方式為


TileBrush.AlignmentY 屬性

定義

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

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

屬性值

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

適用於