ParameterModel
Represents the report parameter model to associate the parameter editor UI with.
Definition
Namespace:Telerik.ReportViewer.Common
Assembly:Telerik.ReportViewer.WinForms.dll
Syntax:
public class ParameterModel : ObservableObject
Inheritance: objectObservableObjectParameterModel
Derived Classes:
Inherited Members
Constructors
public ParameterModel()
Properties
AllowBlank
bool
Gets the AllowNull.
public bool AllowBlank { get; }
AllowNull
bool
Gets the AllowNull.
public bool AllowNull { get; }
AutoRefresh
bool
Gets the AutoRefresh.
public bool AutoRefresh { get; }
AvailableValues
ObservableCollection<IParameterValueModel>
Gets a list of the available ParameterValueModels.
public virtual ObservableCollection<IParameterValueModel> AvailableValues { get; }
ID
string
Gets the ID.
public string ID { get; }
IsNull
bool
Specifies whether the 'null' value is selected.
public virtual bool IsNull { get; set; }
Multivalue
bool
Gets the Multivalue.
public bool Multivalue { get; }
Name
string
Gets the Name.
public string Name { get; }
SafeValue
object
Prevent user input to be considered as expression
public object SafeValue { get; }
Gets or sets a single selected value.
public IParameterValueModel SelectedSingleValue { get; set; }
Text
string
Gets the Text.
public virtual string Text { get; }
Type
Type
Gets the Type.
public Type Type { get; }
TypeName
string
Gets the Type.
public string TypeName { get; }
Value
object
Gets or sets the current parameter value.
public virtual object Value { get; set; }
Methods
Creates a model for the specified parameter value.
protected virtual IParameterValueModel CreateParameterValueModel(ParameterValue parameterValue)
Gets the validation error message for an invalid parameter value.
protected virtual string GetInvalidValueValidationError()
string
Determines whether the parameter has a valid value.
public bool HasValidValue()
bool
Marks the parameter model as invalid.
public void Invalidate()