RelativePanel.GetAlignLeftWithPanel(UIElement) 方法

定義

取得目標專案的 RelativePanel.AlignLeftWithPanel XAML 附加屬性的值。

public:
 static bool GetAlignLeftWithPanel(UIElement ^ element);
 static bool GetAlignLeftWithPanel(UIElement const& element);
public static bool GetAlignLeftWithPanel(UIElement element);
function getAlignLeftWithPanel(element)
Public Shared Function GetAlignLeftWithPanel (element As UIElement) As Boolean

參數

element
UIElement

要讀取屬性值的物件。

傳回

Boolean

bool

RelativePanel.AlignLeftWithPanel XAML 附加指定物件的屬性值。 (true ,將這個專案的左邊緣與面板的左邊緣對齊;否則為 false.)

備註

此方法是屬性系統的公用程式方法,而且不會在大部分的應用程式案例中使用。 在大部分情況下,您會在 XAML 中設定 RelativePanel.AlignLeftWithPanel XAML 附加屬性,而且不需要此方法。 如需詳細資訊,請參閱 RelativePanel.AlignLeftWithPanel 附加屬性。

適用於

另請參閱