Table of Contents

Class ServerViewProperty

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

The ServerViewProperty stores information that specifies values to be loaded from the data server - property names, criteria, and sort order.

[TypeConverter(typeof(ServerViewPropertyConverter))]
public class ServerViewProperty : IDataColumnInfoProvider, INotifyPropertyChanged
Inheritance
ServerViewProperty
Implements
IDataColumnInfoProvider
Inherited Members

Constructors

ServerViewProperty()

Uses default settings to initialize a new ServerViewProperty instance.

public ServerViewProperty()

ServerViewProperty(string, SortDirection, CriteriaOperator)

Uses specified name, sorting, and property values to initialize a new ServerViewProperty instance.

public ServerViewProperty(string name, SortDirection sorting, CriteriaOperator property)

Parameters

name string

A property name that is assigned to the Name property.

sorting SortDirection

A SortDirection enumeration value that specifies the property values’ sort order. The value is assigned to the Sorting property.

property CriteriaOperator

An expression that calculates values to be displayed in a column. The expression is assigned to the Property property.

ServerViewProperty(string, SortDirection, string)

Uses specified name, sorting, and property values to initialize a new ServerViewProperty instance.

public ServerViewProperty(string name, SortDirection sorting, string property)

Parameters

name string

A property name that is assigned to the Name property.

sorting SortDirection

A SortDirection enumeration value that specifies the property values’ sort order. The value is assigned to the Sorting property.

property string

An expression that calculates values to be displayed in a column. The expression is assigned to the Property property.

ServerViewProperty(string, string)

Uses specified name and property values to initialize a new ServerViewProperty instance.

public ServerViewProperty(string name, string property)

Parameters

name string

A property name that is assigned to the Name property.

property string

An expression that calculates values to be displayed in a column. The expression is assigned to the Property property.

Properties

Name

Gets or sets the property’s name.

public string Name { get; set; }

Property Value

string

A string value that specifies the property name.

Property

Gets or sets the criteria to calculate property values.

[TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v24.1.Design, Version=24.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a")]
public CriteriaOperator Property { get; set; }

Property Value

CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator descendant that contains the expression to calculate property values.

Sorting

Gets or sets the sort order for the property values to be retrieved from the data server.

public SortDirection Sorting { get; set; }

Property Value

SortDirection

A SortDirection enumeration value that specifies the property values’ sort order.

Methods

SetOwner(IXPClassInfoProvider)

protected void SetOwner(IXPClassInfoProvider owner)

Parameters

owner IXPClassInfoProvider

Events

PropertyChanged

Occurs when the Name, Property, or Sorting property’s value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler