Class
ParameterModel

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

Definition

Namespace:Telerik.ReportViewer.Common

Assembly:Telerik.ReportViewer.WinForms.dll

Syntax:

cs-api-definition
public class ParameterModel : ObservableObject

Inheritance: objectObservableObjectParameterModel

Derived Classes: ParameterModel

Inherited Members ObservableObject.OnPropertyChanged(string)ObservableObject.PropertyChanged

Constructors

ParameterModel()

Declaration

cs-api-definition
public ParameterModel()

Properties

AllowBlank

Gets the AllowNull.

Declaration

cs-api-definition
public bool AllowBlank { get; }

Property Value

bool

AllowNull

Gets the AllowNull.

Declaration

cs-api-definition
public bool AllowNull { get; }

Property Value

bool

AutoRefresh

Gets the AutoRefresh.

Declaration

cs-api-definition
public bool AutoRefresh { get; }

Property Value

bool

AvailableValues

Gets a list of the available ParameterValueModels.

Declaration

cs-api-definition
public virtual ObservableCollection<IParameterValueModel> AvailableValues { get; }

Property Value

ObservableCollection<IParameterValueModel>

ID

Gets the ID.

Declaration

cs-api-definition
public string ID { get; }

Property Value

string

IsNull

Specifies whether the 'null' value is selected.

Declaration

cs-api-definition
public virtual bool IsNull { get; set; }

Property Value

bool

Multivalue

Gets the Multivalue.

Declaration

cs-api-definition
public bool Multivalue { get; }

Property Value

bool

Name

Gets the Name.

Declaration

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

Property Value

string

SafeValue

Prevent user input to be considered as expression

Declaration

cs-api-definition
public object SafeValue { get; }

Property Value

object

SelectedSingleValue

Gets or sets a single selected value.

Declaration

cs-api-definition
public IParameterValueModel SelectedSingleValue { get; set; }

Property Value

IParameterValueModel

Text

Gets the Text.

Declaration

cs-api-definition
public virtual string Text { get; }

Property Value

string

Type

Gets the Type.

Declaration

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

Property Value

Type

TypeName

Gets the Type.

Declaration

cs-api-definition
public string TypeName { get; }

Property Value

string

Value

Declaration

cs-api-definition
public virtual object Value { get; set; }

Property Value

object

Methods

CreateParameterValueModel(ParameterValue)

Declaration

cs-api-definition
protected virtual IParameterValueModel CreateParameterValueModel(ParameterValue parameterValue)

Parameters

parameterValue

ParameterValue

Returns

IParameterValueModel

GetInvalidValueValidationError()

Declaration

cs-api-definition
protected virtual string GetInvalidValueValidationError()

Returns

string

HasValidValue()

Declaration

cs-api-definition
public bool HasValidValue()

Returns

bool

Invalidate()

Declaration

cs-api-definition
public void Invalidate()