Version

SetColumnWeight Method

Sets the value of the ColumnWeight attached property of the specified element. ColumnWeight specifies how any extra width will be distributed among elements.
Syntax
'Declaration
 
Public Shared Sub SetColumnWeight( _
   ByVal elem As UIElement, _
   ByVal value As Single _
) 
public static void SetColumnWeight( 
   UIElement elem,
   float value
)

Parameters

elem
This element's ColumnWeight value will be returned.
value
Value to set.

Return Value

The value of the ColumnWeight attached property.
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