Class ParameterModel
Represents the report parameter model to associate the parameter editor UI with.
Namespace: Telerik.ReportViewer.Common
Assembly: Telerik.ReportViewer.WinForms.dll
Syntax
public class ParameterModel : ObservableObject, INotifyPropertyChanged, IDataErrorInfo
Constructors
ParameterModel()
Declaration
public ParameterModel()
Properties
AllowBlank
AllowNull
AutoRefresh
AvailableValues
Gets a list of the available ParameterValueModels.
Declaration
public virtual ObservableCollection<IParameterValueModel> AvailableValues { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<IParameterValueModel>
|
ID
IsNull
Specifies whether the 'null' value is selected.
Declaration
public virtual bool IsNull { get; set; }
Property Value
System.Boolean
|
Multivalue
Name
SafeValue
Prevent user input to be considered as expression
Declaration
public object SafeValue { get; }
Property Value
System.Object
|
SelectedSingleValue
Gets or sets a single selected value.
Declaration
public IParameterValueModel SelectedSingleValue { get; set; }
Property Value
IParameterValueModel
|
Text
Type
TypeName
Value
Declaration
public virtual object Value { get; set; }
Property Value
System.Object
|
Methods
CreateParameterValueModel(ParameterValue)
Declaration
protected virtual IParameterValueModel CreateParameterValueModel(ParameterValue parameterValue)
Parameters
ParameterValue
parameterValue
|
Returns
IParameterValueModel
|
GetInvalidValueValidationError()
Declaration
protected virtual string GetInvalidValueValidationError()
Returns
System.String
|
HasValidValue()
Declaration
public bool HasValidValue()
Returns
System.Boolean
|
Invalidate()
Declaration
public void Invalidate()