Skip to main content
.NET 6.0+

XPView.AddProperty(String) Method

Creates a new ViewProperty object with the specified name and appends it to the XPView.Properties collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public ViewProperty AddProperty(
    string property
)

Parameters

Name Type Description
property String

A String value which specifies the property name. This value is assigned to the ViewProperty.Name property.

Returns

Type Description
ViewProperty

The ViewProperty object that was added to the collection.

See Also