Class
DataColumn

Represents a data column definition.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class DataColumn

Inheritance: objectDataColumn

Constructors

DataColumn()

Creates a new instance of DataColumn.

Declaration

cs-api-definition
public DataColumn()

DataColumn(string, SimpleType)

Creates a new instance of DataColumn.

Declaration

cs-api-definition
public DataColumn(string name, SimpleType columnType)

Parameters

name

string

The name of the column. This name should be used later when referring a field from this column in expressions.

columnType

SimpleType

The type of the column.

Properties

Name

Gets or sets the name of the field definition. Used to access the field in expressions.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

Remarks

Field names must be unique in the context of a single report. The name must be a valid identifier - may contain only digits (0-9), letters (a-z, A-Z), and underscore sign (_). Must begin with a letter or underscore.

Type

Gets or sets the type of the field.

Declaration

cs-api-definition
public SimpleType Type { get; set; }

Property Value

SimpleType

Remarks

Determines the type of the values. Acceptable values for each type are listed in SimpleType. The default parameter type is String.

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler