Parameter.Name Property
Specifies the name of the parameter.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v17.2.Core.dll
Declaration
[XtraSerializableProperty]
[DefaultValue("")]
[Browsable(false)]
public string Name { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | A String containing the name of the parameter. |
Remarks
The Name property can be used at runtime, to evaluate an object by its name rather than type or programmatic name. Because the Name property returns a String value, it can be evaluated in case-style logic statements (switch statement in C#, Select statement in Visual Basic).
Note
To avoid invalid serialization of your reports, the Name property value should not contain any .NET reserved words or library names.
For more information, refer to Using Report Parameters.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Name 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.