Class GridControlColumnCollection
Represents the collection of GridControl columns.
Inheritance
System.Object
System.Collections.CollectionBase
GridControlColumnCollection
Implements
Inherited Members
Namespace: FastReport.Dialog
Assembly: FastReport.dll
Syntax
public class GridControlColumnCollection : FRCollectionBase, IList, ICollection, IEnumerable, IFRSerializable
Constructors
GridControlColumnCollection()
Initializes a new instance of the GridControlColumnCollection class with default settings.
Declaration
public GridControlColumnCollection()
GridControlColumnCollection(GridControl)
Initializes a new instance of the GridControlColumnCollection class with default settings.
Declaration
public GridControlColumnCollection(GridControl owner)
Parameters
Type | Name | Description |
---|---|---|
GridControl | owner | The owner of this collection. |
Properties
Item[Int32]
Gets or sets a column.
Declaration
public GridControlColumn this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of a column in this collection. |
Property Value
Type | Description |
---|---|
GridControlColumn | The column with specified index. |
Methods
Deserialize(FRReader)
Deserializes the collection.
Declaration
public void Deserialize(FRReader reader)
Parameters
Type | Name | Description |
---|---|---|
FRReader | reader | Reader object. |
Remarks
This method is for internal use only.
OnInsert(Int32, Object)
Declaration
protected override void OnInsert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
OnRemove(Int32, Object)
Declaration
protected override void OnRemove(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
Serialize(FRWriter)
Serializes the collection.
Declaration
public void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
Remarks
This method is for internal use only.