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

DataSourceColumnBindingBase.ColumnName Property

Gets or sets the name of the data source column.

Namespace: DevExpress.PivotGrid.DataBinding

Assembly: DevExpress.PivotGrid.v22.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design

Declaration

[DefaultValue("")]
public string ColumnName { get; set; }

Property Value

Type Default Description
String String.Empty

A String that is the name of the column in the data source.

Remarks

The following code shows how to specify a column name for a field:

<dx:PivotGridField ID="fieldYear" Area="ColumnArea" Caption="Year" Name="fieldYear">
    <DataBindingSerializable>
        <dx:DataSourceColumnBinding ColumnName="OrderDate" GroupInterval="DateYear" />
    </DataBindingSerializable>
</dx:PivotGridField>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnName 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