RelativePanel.GetAlignLeftWith(UIElement) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目標元素 RelativePanel.AlignLeftWith XAML 附加屬性的值。
public:
static Platform::Object ^ GetAlignLeftWith(UIElement ^ element);
static IInspectable GetAlignLeftWith(UIElement const& element);
public static object GetAlignLeftWith(UIElement element);
function getAlignLeftWith(element)
Public Shared Function GetAlignLeftWith (element As UIElement) As Object
參數
- element
- UIElement
讀取屬性值的物件。
傳回
RelativePanel.AlignLeftWith XAML 附錄的指定物件屬性值。 (將此元素的左邊對齊的元素。)
備註
此方法屬於屬性系統的實用性方法,大多數應用程式情境中不常用。 大多數情況下,你可以在 XAML 裡設定 RelativePanel.AlignLeftWith XAML attached 屬性,不需要這個方法。 更多資訊請參閱 RelativePanel.AlignLeftWith 附加的屬性。