Back to Devexpress

GridColumnReadOnlyCollection Members

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumnreadonlycollection-dot-underscore-members.md

latest6.5 KB
Original Source

GridColumnReadOnlyCollection Members

Represents a read-only column collection.

Constructors

NameDescription
GridColumnReadOnlyCollection(ColumnView)Creates a new GridColumnReadOnlyCollection object.

Properties

NameDescription
CountGets the number of elements contained in the ReadOnlyCollectionBase instance. Inherited from ReadOnlyCollectionBase.
InnerList protectedGets the list of elements contained in the ReadOnlyCollectionBase instance. Inherited from ReadOnlyCollectionBase.
Item[Int32]Provides indexed access to individual columns.
ICollection.IsSynchronizedGets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). Inherited from ReadOnlyCollectionBase.
ICollection.SyncRootGets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. Inherited from ReadOnlyCollectionBase.
ViewGets the View that owns the current column collection.

Methods

NameDescription
Contains(GridColumn)Indicates whether the collection contains the specified column.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator()Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. Inherited from ReadOnlyCollectionBase.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
IndexOf(GridColumn)Returns the specified column’s position within the collection.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ICollection.CopyTo(Array, Int32)Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. Inherited from ReadOnlyCollectionBase.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

GridColumnReadOnlyCollection Class

DevExpress.XtraGrid.Columns Namespace