Version

SetColumnSpan Method

Sets the value of the ColumnSpan attached property of the specified element. Default value is 0, which indicates that the element will occupy the remainder of the space in its logical column.
Syntax
'Declaration
 
Public Shared Sub SetColumnSpan( _
   ByVal elem As UIElement, _
   ByVal value As Integer _
) 
public static void SetColumnSpan( 
   UIElement 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.
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