Class DataViewPropertiesCollection
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
A collection of DataViewProperty objects.
[ListBindable(BindableSupport.No)]
public sealed class DataViewPropertiesCollection : CollectionBase, IList, ICollection, IEnumerable
- Inheritance
-
DataViewPropertiesCollection
- Implements
- Inherited Members
Constructors
DataViewPropertiesCollection(XPDataView)
Initializes a new instance of the DataViewPropertiesCollection class.
public DataViewPropertiesCollection(XPDataView owner)
Parameters
owner
XPDataViewAn XPDataView object that represents the data view which owns this collection.
Properties
this[int]
Provides indexed access to the collection’s elements.
public DataViewProperty this[int index] { get; }
Parameters
index
intAn integer value specifying the zero-based index that identifies an element.
Property Value
- DataViewProperty
A DataViewProperty object representing the collection’s element.
this[string]
Returns the collection’s element with the specified name.
public DataViewProperty this[string name] { get; }
Parameters
name
stringA string representing an element’s name.
Property Value
- DataViewProperty
A DataViewProperty object with the specified name.
Methods
Add(DataViewPropertiesCollection)
Adds the objects in the specified collection to the current collection.
public void Add(DataViewPropertiesCollection sortProperties)
Parameters
sortProperties
DataViewPropertiesCollectionA DataViewPropertiesCollection object which represents the collection whose elements are appended to the current collection.
Add(DataViewProperty)
Adds the specified object to the collection.
public void Add(DataViewProperty sortProperty)
Parameters
sortProperty
DataViewPropertyA DataViewProperty object to add to the collection.
AddRange(DataViewProperty[])
Adds an array of ViewProperty objects to the collection.
public void AddRange(DataViewProperty[] sortProperties)
Parameters
sortProperties
DataViewProperty[]An array of DataViewProperty objects to add to the collection.
OnInsertComplete(int, object)
protected override void OnInsertComplete(int index, object value)
Parameters
OnRemoveComplete(int, object)
protected override void OnRemoveComplete(int index, object value)