Back to Devexpress

FormattingRuleSheet.Item[String] Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-formattingrulesheet-dot-item-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

FormattingRuleSheet.Item[String] Property

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public FormattingRule this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As FormattingRule

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
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

Conditionally Change the Control's Appearance

FormattingRuleSheet Class

FormattingRuleSheet Members

DevExpress.XtraReports.UI Namespace