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