Panel. Get Align Left With(UIElement) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the RelativePanel.AlignLeftWith XAML attached property for the target element.
Equivalent WinUI method: Microsoft.UI.Xaml.Controls.RelativePanel.GetAlignLeftWith.
public: static Platform::Object ^ GetAlignLeftWith(UIElement ^ element);
static IInspectable GetAlignLeftWith(UIElement const& element);
public static object GetAlignLeftWith(UIElement element);
Public Shared Function GetAlignLeftWith (element As UIElement) As Object
The object from which the property value is read.
The RelativePanel.AlignLeftWith XAML attached property value of the specified object. (The element to align this element's left edge with.)
This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the RelativePanel.AlignLeftWith XAML attached property in XAML and won't need this method. For more info, see the RelativePanel.AlignLeftWith attached property.