All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ServerViewProperty.Property Property

Gets or sets the criteria to calculate property values.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public CriteriaOperator Property { get; set; }
<TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")>
Public Property Property As CriteriaOperator
[TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public CriteriaOperator Property { get; set; }
<TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")>
Public Property Property As CriteriaOperator

Property Value

Type Description
CriteriaOperator

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

Property Value

Type Description
CriteriaOperator

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

Remarks

Use the Name property to reference specific columns in an expression.

Examples

The following example demonstrates how to populate a server view's XPServerModeView.Properties collection.

using DevExpress.Xpo;
// ...
xpServerModeView1.Properties.AddRange(new ServerViewProperty[] {
  new ServerViewProperty("Name", SortDirection.None, "[Name]"),
  new ServerViewProperty("CompanyName", SortDirection.None, "[Customer.CompanyName]"),
  new ServerViewProperty("Payment", SortDirection.None, "[Payments].Sum([Amount])"),
  new ServerViewProperty("EmployeeFullName", SortDirection.None, "[Employee.FirstName] + ' ' + 
    [Employee.LastName]")});
See Also