Skip to main content
A newer version of this page is available. .

XRBindingCollection.Add(String, Object, String, String) Method

Creates an XRBinding object and adds it to the collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public XRBinding Add(
    string propertyName,
    object dataSource,
    string dataMember,
    string formatString
)

Parameters

Name Type Description
propertyName String

The name of the control’s property to bind.

dataSource Object

An object that represents the data source.

dataMember String

A string containing a navigation path resolving to the property of an object.

formatString String

A string containing a format of the value to be bound.

Returns

Type Description
XRBinding

An XRBinding object.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(String, Object, String, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also