_ColumnFormat.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an Integer (int in C#) value indicating the approximate width (in characters) of the column. Read/write.
public:
property int Width { int get(); void set(int value); };
public int Width { get; set; }
Public Property Width As Integer
Property Value
Remarks
This property can be set to a value between 2 and 1024. If this property is set to a value less than 2, the property is set to 2. If this property is set to a value greater than 1024, the property is set to 1024.
If the value of this property for every column in a view is less than the total width of the view, then the Width property of the ColumnFormat object for the last ViewField in the view is increased to match the total width of the view.