XPServerModeView.AddProperty(String, String, SortDirection) Method
Creates a new ServerViewProperty object and appends it to the Properties collection.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A string value that specifies the property name. This value is assigned to the Name property. |
property | String | A string value that specifies the expression used to calculate values in a column on the data store side. This value is assigned to the Property property. |
sorting | SortDirection | A SortDirection enumeration value that specifies a sort order for property values to be retrieved from the data store. This value is assigned to the Sorting property. |
Returns
Type | Description |
---|---|
ServerViewProperty | The ServerViewProperty object that was added to the Properties collection. |