Show / Hide Table of Contents

Class ColumnCollection

Represents the collection of Column objects.

Inheritance
System.Object
System.Collections.CollectionBase
FRCollectionBase
ColumnCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
FRCollectionBase.Owner
FRCollectionBase.AddRange(Base[])
FRCollectionBase.AddRange(ObjectCollection)
FRCollectionBase.Add(Base)
FRCollectionBase.Insert(Int32, Base)
FRCollectionBase.Remove(Base)
FRCollectionBase.IndexOf(Base)
FRCollectionBase.Contains(Base)
FRCollectionBase.ToArray()
FRCollectionBase.Equals(FRCollectionBase)
FRCollectionBase.CopyTo(FRCollectionBase)
FRCollectionBase.OnInsert(Int32, Object)
FRCollectionBase.OnRemove(Int32, Object)
FRCollectionBase.OnClear()
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Data
Assembly: FastReport.OpenSource.dll
Syntax
public class ColumnCollection : FRCollectionBase, IList, ICollection, IEnumerable

Constructors

ColumnCollection(Base)

Initializes a new instance of the ColumnCollection class with default settings.

Declaration
public ColumnCollection(Base owner)
Parameters
Type Name Description
Base owner

The owner of this collection.

Properties

Item[Int32]

Gets or sets a column.

Declaration
public Column this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index

The index of a column in this collection.

Property Value
Type Description
Column

The column with specified index.

Methods

CreateUniqueAlias(String)

Returns an unique column alias based on given alias.

Declaration
public string CreateUniqueAlias(string alias)
Parameters
Type Name Description
System.String alias

The base alias.

Returns
Type Description
System.String

The unique alias.

CreateUniqueName(String)

Returns an unique column name based on given name.

Declaration
public string CreateUniqueName(string name)
Parameters
Type Name Description
System.String name

The base name.

Returns
Type Description
System.String

The unique name.

FindByAlias(String)

Finds a column by its alias.

Declaration
public Column FindByAlias(string alias)
Parameters
Type Name Description
System.String alias

The alias of a column.

Returns
Type Description
Column

The Column object if found; otherwise null.

FindByName(String)

Finds a column by its name.

Declaration
public Column FindByName(string name)
Parameters
Type Name Description
System.String name

The name of a column.

Returns
Type Description
Column

The Column object if found; otherwise null.

Sort()

Sorts the collection of columns.

Declaration
public void Sort()

Implements

System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Back to top Generated by DocFX