RelativePanel.AlignRightWithProperty 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別 RelativePanel.AlignRightWith XAML 附加屬性。
public:
static property DependencyProperty ^ AlignRightWithProperty { DependencyProperty ^ get(); };
static DependencyProperty AlignRightWithProperty();
public static DependencyProperty AlignRightWithProperty { get; }
var dependencyProperty = RelativePanel.alignRightWithProperty;
Public Shared ReadOnly Property AlignRightWithProperty As DependencyProperty
屬性值
RelativePanel.AlignRightWith XAML 附加屬性的識別碼。
備註
這個屬性只是屬性系統的識別碼,大多數應用程式場景中不會使用。 大多數情況下,你在 XAML 裡設定 RelativePanel.AlignRightWith XAML attached 屬性,不需要這個識別碼。
要存取程式碼中的 RelativePanel.AlignRightWith attached 屬性,您可以使用依賴屬性系統,呼叫 GetValue 或 SetValue ,並將 RelativePanel.AlignRightWithProperty 作為依賴屬性識別碼傳遞。 另一種在程式碼中取得或設定值的方法是使用 GetAlignRightWith 和 SetAlignRightWith。