Parameter.Type Property

Determines which values a report parameter can accept.

Namespace: DevExpress.XtraReports.Parameters

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

Declaration

public virtual Type Type { get; set; }
Public Overridable Property Type As Type

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

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).

Implements

See Also