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

FormattingRuleSheet.Item[String] Property

Provides access to individual items in the collection by their names.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public FormattingRule this[string name] { get; }

Parameters

Name Type Description
name String

A String value specifying the name of the formatting rule to get.

Property Value

Type Description
FormattingRule

A FormattingRule object which represents the formatting rule with the specified name.

Remarks

This property searches the collection for the formatting rule whose name matches the parameter’s value, and returns this rule. If no such object is found, the indexer returns null (Nothing in Visual Basic).

See Also