windowsforms-devexpress-dot-xtratoolbox-dot-toolboxoptionsview-ac9d7a52.md
Gets or sets the number of columns into which the ToolboxControl items are arranged.
Namespace : DevExpress.XtraToolbox
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(2)]
public int ColumnCount { get; set; }
<DefaultValue(2)>
Public Property ColumnCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 2 |
An integer value that specifies the number of columns into which the ToolboxControl items are arranged.
|
You can access this nested property as listed below:
| Object Type | Path to ColumnCount |
|---|---|
| ToolboxControl |
.OptionsView .ColumnCount
|
By default, ToolboxControl items are arranged in two columns. Use the ColumnCount property to override the default number of columns.
In the minimized state (see ToolboxOptionsMinimizing.State), the number of item columns can be specified using the ToolboxOptionsMinimizing.ColumnCount option accessible through the ToolboxControl.OptionsMinimizing property.
See Also