[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Parameter

Parameter Class

Represents a parameter in a page report.

Inheritance
Parameter
Namespace: GrapeCity.ActiveReports.Document
Assembly: MESCIUS.ActiveReports.dll
Syntax
public sealed class Parameter
Remarks

This class provides access to parameter properties, values, and validation state.

Properties

Name Description
AllowBlank

Gets a value indicating whether an empty string is a valid value for the parameter.

CurrentValue

Gets or sets the current value of the parameter.

DataType

Gets the data type of the parameter.

DateOnly

Gets a value indicating whether the user should be prompted only for the date (ignoring time).

DefaultValues

Gets the collection of default values for this parameter.

DependentParameters

Gets Parameter objects that cannot be evaluated until this Parameter is evaluated.

DisplayFormat

Gets the display format string for the parameter.

ErrorMessage

Gets the error message associated with this parameter, if the validation failed.

Hidden

Gets a value indicating whether the parameter should be hidden from the user.

Label

Gets or sets the label used to identify the parameter in the user interface.

MultiValue

Gets a value indicating whether the parameter accepts multiple values.

Multiline

Gets a value indicating whether the parameter value supports multiline text.

Name

Gets the name of the parameter.

Nullable

Gets a value indicating whether the parameter accepts null values.

Prompt

Gets the prompt text displayed to the user when asking for parameter values.

PromptUser

Gets a value indicating whether the user should be prompted for this parameter's value.

QueryParameter

Gets a value indicating whether the parameter is used in a dataset query.

State

Gets the current state of the parameter.

ValidValues

Gets the collection of valid values defined for this parameter.

ValidationState

Gets the validation error state of the parameter.

Values

Gets the collection of currently assigned values.

Methods

Name Description
Refresh()

Refreshes the parameter values from the data source.

Extension Methods