Version

GetColumnSpan Method

Gets the value of the ColumnSpan attached property of the specified element, 0 indicates that the element will occupy the remainder of the space in its logical column. The default is 1.
Syntax
'Declaration
 
Public Shared Function GetColumnSpan( _
   ByVal elem As DependencyObject _
) As Integer
public static int GetColumnSpan( 
   DependencyObject elem
)

Parameters

elem
This element's ColumnSpan value will be returned.

Return Value

The value of the ColumnSpan attached property. The default value is 1.
Remarks

Note: this property is ignored unless TileLayoutOrder is 'UseExplicitRowColumnOnTile'.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also