Edit

Share via


Grid.GetColumnSpan(UIElement) Method

Definition

Gets the value of the ColumnSpan attached property from a given UIElement.

public:
 static int GetColumnSpan(System::Windows::UIElement ^ element);
[System.Windows.AttachedPropertyBrowsableForChildren]
public static int GetColumnSpan (System.Windows.UIElement element);
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetColumnSpan : System.Windows.UIElement -> int
Public Shared Function GetColumnSpan (element As UIElement) As Integer

Parameters

element
UIElement

The element from which to read the property value.

Returns

The value of the ColumnSpan attached property.

Attributes

Applies to