Xceed DataGrid for WPF v7.2 Documentation
ColumnWidth Constructor(Double)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ColumnWidth Structure > ColumnWidth Constructor : ColumnWidth Constructor(Double)
double representing the number of device-independant pixels (96 pixels-per-inch) to use.
Initializes a new instance of the ColumnWidth structure using the specified absolute value in pixels.
Syntax
'Declaration
 
Public Function New( _

   ByVal pixels As Double _

)
'Usage
 
Dim pixels As Double

 

Dim instance As New ColumnWidth(pixels)
public ColumnWidth( 

   double pixels

)

Parameters

pixels
double representing the number of device-independant pixels (96 pixels-per-inch) to use.
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

ColumnWidth Structure
ColumnWidth Members
Overload List