Table of Contents

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 IXPClassInfoProvider

An 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 CriteriaOperator

An 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 int

An 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 string

A string value that specifies an item’s name.

Property Value

ServerViewProperty

A ServerViewProperty item that has the specified name.

Methods

Add(ServerViewProperty)

public void Add(ServerViewProperty property)

Parameters

property ServerViewProperty

A 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 IEnumerable

An 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

index int
value object

OnRemoveComplete(int, object)

protected override void OnRemoveComplete(int index, object value)

Parameters

index int
value object

OnSetComplete(int, object, object)

protected override void OnSetComplete(int index, object oldValue, object newValue)

Parameters

index int
oldValue object
newValue object

Events

CollectionChanged

Occurs when the ServerViewPropertiesCollection changes.

public event NotifyCollectionChangedEventHandler CollectionChanged

Event Type

NotifyCollectionChangedEventHandler