TileBrush.AlignmentX 屬性

定義

取得或設定 TileBrush 基底拼貼中內容的水平對齊方式。

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

屬性值

指定 TileBrush 內容在其基底拼貼中的水平位置值。 預設值是 Center

備註

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

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

相依性屬性資訊

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

適用於

另請參閱