Skip to main content

DataSourceColumnBindingBase.ColumnName Property

Gets or sets the name of the data source column.

Namespace: DevExpress.PivotGrid.DataBinding

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

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:

        <DataBindingSerializable>
            <dx:DataSourceColumnBinding ColumnName="OrderDate" GroupInterval="DateMonth" />
        </DataBindingSerializable>
    </dx:PivotGridField>
</Fields>

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