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