Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcListBox Class / ColumnWidth Property


In This Topic
    ColumnWidth Property (GcListBox)
    In This Topic
    Gets or sets the standard width or automatic sizing mode of columns in the control. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property ColumnWidth As ListBoxLength
    'Usage
     
    Dim instance As GcListBox
    Dim value As ListBoxLength
     
    instance.ColumnWidth = value
     
    value = instance.ColumnWidth
    public ListBoxLength ColumnWidth {get; set;}

    Property Value

    A structure that represents the standard width or automatic sizing mode of columns in the GcListBox. The default is ListBoxLength.SizeToHeader.
    Remarks
    By default, columns will automatically adjust their width to fit their contents. This property affects the width setting of every column in the control that does not have an explicit Width setting.
    See Also