System.Windows.Forms.ListBox.ColumnWidth Property

Gets or sets the width of columns in a multicolumn System.Windows.Forms.ListBox.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(0)]
public int ColumnWidth { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If you set the value to zero (0), a default width is assigned to each column. If the System.Windows.Forms.ListBox is a multicolumn System.Windows.Forms.ListBox, this property returns the current width of each column in the list. You can use this property to ensure that each column in a multicolumn System.Windows.Forms.ListBox can properly display its items.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0