-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Controls.Canvas.GetLeft(Microsoft.UI.Xaml.UIElement) |
winrt method |
Gets the value of the Canvas.Left XAML attached property for the target element.
The object from which the property value is read.
The Canvas.Left XAML attached property value of the specified object.
This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the Canvas.Left XAML attached property in XAML and won't need this method. For more info, see the Canvas.Left attached property.