Get Column Span(FrameworkElement) 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.
public: static int GetColumnSpan(FrameworkElement ^ element);
static int GetColumnSpan(FrameworkElement const& element);
public static int GetColumnSpan(FrameworkElement element);
Public Shared Function GetColumnSpan (element As FrameworkElement) As Integer
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.