Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ColumnWidth Structure
Members


In This Topic
    ColumnWidth Structure
    In This Topic
    Structure that represents the width of a column.
    Syntax
    'Declaration
     
    <IsReadOnlyAttribute()>
    <TypeConverterAttribute(Xceed.Wpf.DataGrid.Converters.ColumnWidthConverter)>
    Public Structure ColumnWidth 
       Inherits System.ValueType
    'Usage
     
    Dim instance As ColumnWidth
    [IsReadOnly()]
    [TypeConverter(Xceed.Wpf.DataGrid.Converters.ColumnWidthConverter)]
    public struct ColumnWidth : System.ValueType 
    Remarks
    The ColumnWidth structure can be used with double values. Non-absolute values (ColumnWidthUnitType.Star) will return a null reference (Nothing in Visual Basic).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.Wpf.DataGrid.ColumnWidth

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the ColumnWidthUnitType used by the ColumnWidth structure.  
    Public PropertyGets a double that represents the value of the ColumnWidth structure.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Determines if the specified object is equal to the current ColumnWidth instance.  
    Public MethodRetrieves the hash code for the ColumnWidth structure.  
    Public MethodReturns a string representation of the ColumnWidth structure.  
    Top
    Public Operators
    Compares two (2) ColumnWidth structures for equality.
    Overloaded. Converts the specified ColumnWidth structure value to a double structure.
    Compares two (2) ColumnWidth structures for inequality.
    Top
    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