Skip to main content

DataSourceColumnBindingBase.ColumnName Property

Gets or sets the name of the data source column.

Namespace: DevExpress.PivotGrid.DataBinding

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

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


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.


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

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

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


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