New to Telerik ReportingStart a free 30-day trial

Represents the report parameter model to associate the parameter editor UI with.

Definition

Namespace:Telerik.ReportViewer.Common

Assembly:Telerik.ReportViewer.WinForms.dll

Syntax:

C#
public class ParameterModel : ObservableObject

Inheritance: objectObservableObjectParameterModel

Derived Classes: ParameterModel

Inherited Members ObservableObject.OnPropertyChanged(string)ObservableObject.PropertyChanged

Constructors

C#
public ParameterModel()

Properties

Gets the AllowNull.

C#
public bool AllowBlank { get; }

Gets the AllowNull.

C#
public bool AllowNull { get; }

Gets the AutoRefresh.

C#
public bool AutoRefresh { get; }

Gets a list of the available ParameterValueModels.

C#
public virtual ObservableCollection<IParameterValueModel> AvailableValues { get; }

ID

string

Gets the ID.

C#
public string ID { get; }

IsNull

bool

Specifies whether the 'null' value is selected.

C#
public virtual bool IsNull { get; set; }

Gets the Multivalue.

C#
public bool Multivalue { get; }

Name

string

Gets the Name.

C#
public string Name { get; }

SafeValue

object

Prevent user input to be considered as expression

C#
public object SafeValue { get; }

Gets or sets a single selected value.

C#
public IParameterValueModel SelectedSingleValue { get; set; }

Text

string

Gets the Text.

C#
public virtual string Text { get; }

Type

Type

Gets the Type.

C#
public Type Type { get; }

TypeName

string

Gets the Type.

C#
public string TypeName { get; }

Value

object

C#
public virtual object Value { get; set; }

Methods

C#
protected virtual IParameterValueModel CreateParameterValueModel(ParameterValue parameterValue)
Parameters:parameterValueParameterValueReturns:

IParameterValueModel

C#
protected virtual string GetInvalidValueValidationError()
Returns:

string

C#
public bool HasValidValue()
Returns:

bool

C#
public void Invalidate()