Version

SetColumnSpan Method

Sets 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 Sub SetColumnSpan( _
   ByVal elem As DependencyObject, _
   ByVal value As Integer _
) 
public static void SetColumnSpan( 
   DependencyObject elem,
   int value
)

Parameters

elem
This element's ColumnSpan value will be set.
value
Value to set. This can be 0 to indicate that the element should occupy the remainder of the logical column.
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