XRControl.Name Property
Gets or sets a name of the control.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v19.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String containing a name of the control. |
Remarks
The Name property can be used at runtime to evaluate an object by its name rather than type and 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).
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.