Back to Devexpress

XPView.AddProperty(String) Method

xpo-devexpress-dot-xpo-dot-xpview-dot-addproperty-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public ViewProperty AddProperty(
    string property
)
vb
Public Function AddProperty(
    property As String
) As ViewProperty

Parameters

NameTypeDescription
propertyString

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

|

Returns

TypeDescription
ViewProperty

The ViewProperty object that was added to the collection.

|

See Also

XPView Class

XPView Members

DevExpress.Xpo Namespace