語言

RelativePanel.BelowProperty 屬性

定義

識別 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。

適用於

另請參閱