TileBrush.AlignmentY 屬性

定義

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

public:
 property System::Windows::Media::AlignmentY AlignmentY { System::Windows::Media::AlignmentY get(); void set(System::Windows::Media::AlignmentY value); };
public System.Windows.Media.AlignmentY AlignmentY { get; set; }
member this.AlignmentY : System.Windows.Media.AlignmentY with get, set
Public Property AlignmentY As AlignmentY

屬性值

指定 TileBrush 內容在其基底磚中之垂直位置的值。 預設值是 Center

備註

AlignmentX當下列任一條件成立時,會使用 的 TileBrushAlignmentY 屬性:

請注意,您可以使用 屬性來指定內容維度 TileBrush ;您可以使用 屬性來指定基底圖 Viewport 的位置和大小 TileBrushViewbox

相依性屬性資訊

識別碼欄位 AlignmentYProperty
設定為 的中繼資料屬性 true

適用於

另請參閱