FlexGrid for WinForms
Count Property (ColumnCollection)



Gets or sets the number of rows or columns in the collection.
Syntax
'Declaration
 
<C1CategoryAttribute("Layout")>
<C1DescriptionAttribute("Gets or sets the number of columns in the grid.")>
<DefaultValueAttribute()>
Public Overrides Property Count As Integer
'Usage
 
Dim instance As ColumnCollection
Dim value As Integer
 
instance.Count = value
 
value = instance.Count
[C1Category("Layout")]
[C1Description("Gets or sets the number of columns in the grid.")]
[DefaultValue()]
public override int Count {get; set;}
[C1Category("Layout")]
[C1Description("Gets or sets the number of columns in the grid.")]
[DefaultValue()]
public:
property int Count {
   int get() override;
   void set (    int value) override;
}
Remarks
You can add or remove columns by assigning a new value to this property, or you can use the Add, Insert, InsertRange, and Remove(Int32) methods.
Requirements

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

See Also

Reference

ColumnCollection Class
ColumnCollection Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback