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

PivotGridField.UnboundFieldName Property

Gets or sets the name of a column in a summary data source that corresponds to the current unbound field. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public string UnboundFieldName { get; set; }

Property Value

Type Description
String

A string value that specifies the name of a column in a summary data source that corresponds to the current field.

Remarks

PivotGridControl supports bound and unbound fields. A bound field is connected to a specific datasource field via the PivotGridField.FieldName property, and retrieves data from this field. An unbound field is not connected to a datasource field, and it should be populated with data manually. Bound fields whose values are grouped according to the PivotGridField.GroupInterval, are also considered unbound.

The PivotGridControl.CreateSummaryDataSource method allows you to obtain a table whose columns are represented by fields, while records are represented by pivot grid rows. Use the UnboundFieldName property to specify the name of a column in this table that corresponds to the current unbound field.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnboundFieldName property.

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