Skip to main content
A newer version of this page is available. .

Parameter.Type Property

Determines which values a report parameter can accept.

Namespace: DevExpress.XtraReports.Parameters

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Reference)]
[TypeConverter("DevExpress.XtraReports.Design.ParameterTypeConverter,DevExpress.Utils.v18.2.UI, Version=18.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public virtual Type Type { get; set; }

Property Value

Type Description
Type

A Type object, specifying the type declarations.

Remarks

The Parameter.Type property determines which values a parameter can accept. The corresponding value editors are created automatically for the following standard parameter types:

  • String
  • Date
  • 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.

parameters-ui-win

To learn how to implement value editors for parameters of custom types (such as enumerations or XPCollection objects), see Requesting and Passing Report Parameter Values.

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.

See Also