New to Telerik ReportingStart a free 30-day trial

Represents a processing instance of a ReportParameter.

Definition

Namespace:Telerik.Reporting.Processing

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class Parameter

Inheritance: objectParameter

Constructors

Initializes a new instance of the Parameter class.

C#
public Parameter()

Properties

Determines if the parameter allows an empty string to be passed. Only for parameters of type string.

C#
public bool AllowBlank { get; set; }

Determines if the parameter allows no value to be passed from it's editor.

C#
public bool AllowNull { get; set; }

Determines whether the report viewer should auto-update the report when the parameter value is changed.

C#
public bool AutoRefresh { get; set; }

Gets or sets the list of the available values for the current parameter.

C#
public List<ParameterValue> AvailableValues { get; set; }

Gets or sets IDs of all parameters that depend on the current parameter.

C#
public string[] ChildParameters { get; set; }

Gets a value indicating whether other parameters depend on the current parameter.

C#
public bool HasChildParameters { get; }

ID

string

Gets or sets the ID of the parameter.

C#
public string ID { get; set; }

Determines if the parameter should be displayed in the report viewer.

C#
public bool IsVisible { get; set; }

Label

object

Gets the label of the parameter. Returns a string that contains the label of the current parameter's Value or an array of strings that contains the labels of all values when multivalue parameter.

C#
public object Label { get; }

Determines if the parameter can hold more then one value.

C#
public bool Multivalue { get; set; }

Name

string

Gets or sets the Name of the parameters

C#
public string Name { get; set; }

Text

string

Gets or sets the text for the parameter to be displayed in the report viewer.

C#
public string Text { get; set; }

Type

string

Gets or sets the type of the parameter.

C#
public string Type { get; set; }
Remarks:

The string that represents the parameter type should be the FullName of the CLR type corresponding to the ReportParameterType.

Value

object

Gets or sets the value of the parameter.

C#
public object Value { get; set; }
Remarks:

Value should of the allowed types, or IEnumerable containing values of the allowed types.