New to Telerik ReportingStart a free 30-day trial

Represents a parameter in a DataSource component.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class DataSourceParameter

Inheritance: objectDataSourceParameter

Derived Classes: CubeDataSourceParameterObjectDataSourceParameterSqlDataSourceParameterWebServiceParameter

Constructors

Initializes a new instance of the DataSourceParameter class.

C#
public DataSourceParameter()

Initializes a new instance of the DataSourceParameter class.

C#
public DataSourceParameter(string name, object value)
Parameters:namestring

Specifies the name of the parameter.

valueobject

Specifies the value of the parameter.

Initializes a new instance of the DataSourceParameter class.

C#
public DataSourceParameter(string name)
Parameters:namestring

Specifies the name of the parameter.

Properties

Name

string

Gets or sets the name of the parameter.

C#
public string Name { get; set; }

Value

object

Gets or sets the value of the parameter.

C#
[TypeConverter(typeof(ObjectValueConverter))]
public object Value { get; set; }

Methods

C#
protected void NotifyPropertyChanged(string propertyName)
Parameters:propertyNamestring

Events

PropertyChanged

PropertyChangedEventHandler

C#
public event PropertyChangedEventHandler PropertyChanged