ParameterModel
Class
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:
Inherited Members
Constructors
C#
public ParameterModel()
Properties
AllowBlank
bool
Gets the AllowNull.
C#
public bool AllowBlank { get; }
AllowNull
bool
Gets the AllowNull.
C#
public bool AllowNull { get; }
AutoRefresh
bool
Gets the AutoRefresh.
C#
public bool AutoRefresh { get; }
AvailableValues
ObservableCollection<IParameterValueModel>
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; }
Multivalue
bool
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)
C#
protected virtual string GetInvalidValueValidationError()
string
HasValidValue()
bool
C#
public bool HasValidValue()
bool
C#
public void Invalidate()