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

XRControl.Name Property

Gets or sets a name of the control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue("")]
[Browsable(false)]
public string Name { get; set; }

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

See Also