[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReportModel.Parameter

Parameter Class

A Parameter is used to substitute values for parameter placeholders in the report's data source SQL query text.

Inheritance
Parameter
Namespace: GrapeCity.ActiveReports.SectionReportModel
Assembly: MESCIUS.ActiveReports.dll
Syntax
[TypeConverter(typeof(ParameterTypeConverter))]
public class Parameter : IComponent, IDisposable, IPersistControl

Constructors

Name Description
Parameter()

Initializes a new instance of the Parameter class.

Properties

Name Description
DefaultValue

Gets or sets a value to be used as the default value in the parameters input dialog.

DisplayFormat

Parameter display format.

Key

Gets or sets the unique name of the parameter.

Prompt

Parameter caption used in the parameters input dialog to prompt the user to input a parameter value.

PromptUser

Determines whether to prompt the user to input a parameter value.

QueryCreated

Determines whether the query is created from the data source query string or user created.

Tag

User-defined value.

Type

Gets or sets a value that determines the type of input control to be created to collect the parameter value from the user.

Value

Gets or sets the value of the parameter to be used in parameter placeholder substitution.

Methods

Name Description
Clone()

Clones this instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

ReadXml(XmlNode)

Reads the XML.

ToString()

Returns a string that represents this instance.

WriteXml(XmlElement)

Writes the XML.

Events

Name Description
Disposed

Represents the method that handles the Disposed event of a component.

Extension Methods