Skip to main content

FormattingRuleSheet.Item[String] Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.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