C1.WPF.Schedule Namespace > AutoDistributionGrid Class : ColumnCount Property |
'Declaration
Public Property ColumnCount As System.Integer
public System.int ColumnCount {get; set;}
This property value is being kept in sync with a number of items in the System.Windows.Controls.Grid.ColumnDefinitions collection.
If a number of items in the System.Windows.Controls.Grid.ColumnDefinitions collection has been changed then the value of the ColumnCount property is updated automatically.
If a value of the ColumnCount property is changed directly, then items will be added or removed to/from the end of System.Windows.Controls.Grid.ColumnDefinitions collection until its number becomes equal to the new ColumnCount value.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2