Sets the value of the ColumnWeight attached property of the specified element. ColumnWeight specifies how any extra width will be distributed among elements.
'Declaration
Public Shared Sub SetColumnWeight( _
ByVal As UIElement, _
ByVal As Single _
)
public static void SetColumnWeight(
UIElement ,
float
)
Parameters
- elem
- This element's ColumnWeight value will be returned.
- value
- Value to set.
Return Value
The value of the ColumnWeight attached property.
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