Xceed DataGrid for WPF v7.2 Documentation
Width Property (ColumnSettings)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Settings Namespace > ColumnSettings Class : Width Property
Gets or sets a column's width.
Syntax
'Declaration
 
Public Property Width As Nullable(Of XmlColumnWidth)
'Usage
 
Dim instance As ColumnSettings

Dim value As Nullable(Of XmlColumnWidth)

 

instance.Width = value

 

value = instance.Width
public Nullable<XmlColumnWidth> Width {get; set;}

Property Value

An XmlColumnWidth structure representing the width of a column. a null reference (Nothing in Visual Basic) if the value is not persisted.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, 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

Reference

ColumnSettings Class
ColumnSettings Members