Parameter.Type Property

Determines which values a report parameter can accept.

Namespace: DevExpress.XtraReports.Parameters

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

Declaration

public virtual Type Type { get; set; }

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.

parameters-ui-win

Review the Create a Report Parameter topic to learn how to implement value editors for parameters of custom types (such as enumerations or XPCollection objects).

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.

Implements

See Also