Class ServerViewPropertiesCollection
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
A collection of ServerViewProperty objects.
[ListBindable(BindableSupport.No)]
public sealed class ServerViewPropertiesCollection : CollectionBase, IList, ICollection, IEnumerable, INotifyCollectionChanged
- Inheritance
-
ServerViewPropertiesCollection
- Implements
- Inherited Members
Constructors
ServerViewPropertiesCollection()
Initializes a new ServerViewPropertiesCollection class instance.
public ServerViewPropertiesCollection()
ServerViewPropertiesCollection(IXPClassInfoProvider)
Initializes a new ServerViewPropertiesCollection class instance and binds it to a specified owner - an IXPClassInfoProvider instance. The XPClassInfo metadata from the IXPClassInfoProvider is used internally.
public ServerViewPropertiesCollection(IXPClassInfoProvider owner)
Parameters
owner
IXPClassInfoProviderAn IXPClassInfoProvider object that supplies XPClassInfo metadata.
Properties
this[CriteriaOperator]
Gets an item from the ServerViewPropertiesCollection. This item matches the specified expression.
public ServerViewProperty this[CriteriaOperator expression] { get; }
Parameters
expression
CriteriaOperatorAn expression that identifies an item to be retrieved from the ServerViewPropertiesCollection.
Property Value
- ServerViewProperty
An ServerViewProperty item that matches the specified expression.
this[int]
Gets an item that has the specified index from the ServerViewPropertiesCollection.
public ServerViewProperty this[int index] { get; }
Parameters
index
intAn integer value that specifies an item’s index.
Property Value
- ServerViewProperty
A ServerViewProperty item that has the specified index.
this[string]
Gets an item that has the specified name from the ServerViewPropertiesCollection.
public ServerViewProperty this[string name] { get; }
Parameters
name
stringA string value that specifies an item’s name.
Property Value
- ServerViewProperty
A ServerViewProperty item that has the specified name.
Methods
Add(ServerViewProperty)
Adds a ServerViewProperty object to the ServerViewPropertiesCollection.
public void Add(ServerViewProperty property)
Parameters
property
ServerViewPropertyA ServerViewProperty object to add to the collection.
AddRange(ServerViewProperty[])
Adds an array of ServerViewProperty objects to the ServerViewPropertiesCollection.
public void AddRange(ServerViewProperty[] properties)
Parameters
properties
ServerViewProperty[]A array of ServerViewProperty objects to add to the collection.
AddRangeAsCopy(IEnumerable)
Copies and adds an array of ServerViewProperty objects to the ServerViewPropertiesCollection.
public void AddRangeAsCopy(IEnumerable properties)
Parameters
properties
IEnumerableAn IEnumerable list that contains objects to be copied and added to the collection.
OnClear()
protected override void OnClear()
OnClearComplete()
protected override void OnClearComplete()
OnInsertComplete(int, object)
protected override void OnInsertComplete(int index, object value)
Parameters
OnRemoveComplete(int, object)
protected override void OnRemoveComplete(int index, object value)
Parameters
OnSetComplete(int, object, object)
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
Events
CollectionChanged
Occurs when the ServerViewPropertiesCollection changes.
public event NotifyCollectionChangedEventHandler CollectionChanged