The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRControlStyle.Name Property

Gets or sets the control style name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

[DefaultValue("")]
[Browsable(false)]
public string Name { get; set; }
<DefaultValue("")>
<Browsable(False)>
Public Property Name As String

Property Value

Type Default Description
String

String.Empty

A String that specifies the style name.

Remarks

You can use the Name property at runtime to evaluate an object by its name rather than type or programmatic name. The Name property returns a String value and can be evaluated in case-style logic statements (switch statement in C#, Select statement in Visual Basic).

Note

To avoid invalid report serialization, the Name property value should not contain any reserved .NET words, library names or the XtraReport class's property names (DataSource, Version, etc.)

Refer to Use Report Parameters for more information.

See Also