Parameter.Type Property
Determines which values a report parameter can accept.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
Type | A Type object that specifies the type declarations. The default type is String. |
Remarks
The Parameter.Type
property determines which values a parameter can accept. Value editors are available for the following parameter types:
- String
- DateTime
Number
- 16-bit integer
- 32-bit integer
- 64-bit integer
- floating point
- double-precision floating point
- decimal
- Boolean
- GUID (Globally Unique Identifier)
In the Print Preview, these editors are displayed in the Parameters panel.
The following image illustrates the standard editors for parameter values in a WinForms application.
See Use the Parameters Panel to Ask for User Input to learn how to implement value editors for parameters of custom types (such as enumerations or XPCollection objects).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.