System.Windows.Forms.TableLayoutSettings.ColumnCount Property

Gets or sets the maximum number of columns allowed in the table layout.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Setting the TableLayoutSettings.ColumnCount property does not allocate the columns or any backing memory. This allocation occurs when the columns are created.

Setting this property causes the table to undergo another layout operation.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0