Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FormattingRule.Name Property

Gets or sets the formatting rule‘s name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

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

#Property Value

Type Default Description
String String.Empty

A String that specifies the formatting rule 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.)

See Also