Back to Devexpress

FormattingRuleCollection.GetEffectiveStyle() Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-formattingrulecollection.md

latest1.9 KB
Original Source

FormattingRuleCollection.GetEffectiveStyle() Method

Returns the style object representing the appearance applied to a control by the rules from the FormattingRuleCollection, and whose FormattingRule.Condition is true.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public XRControlStyle GetEffectiveStyle()
vb
Public Function GetEffectiveStyle As XRControlStyle

Returns

TypeDescription
XRControlStyle

An XRControlStyle object, specifying the actual values of appearance properties.

|

Remarks

For more information on using this method, refer to the appearance properties (e.g. BackColor , ForeColor , etc.) of a formatting rule’s FormattingRule.Formatting object.

See Also

Customize Appearance

FormattingRuleCollection Class

FormattingRuleCollection Members

DevExpress.XtraReports.UI Namespace