Skip to main content
.NET 8.0+

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

IAppearanceRuleProperties.Method Property

Specifies the name of the business class method used to determine whether the Conditional Appearance rule is currently active.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

[DataSourceProperty("MethodNames", new string[]{})]
string Method { get; set; }

#Property Value

Type Description
String

A string specifying the name of the method used to determine whether the rule is active.

#Remarks

When you need to create a complex rule that cannot be specified via the IAppearanceRuleProperties.Criteria property, you can implement a business class method that takes no parameters and returns a Boolean value specifying whether the rule is currently active. In this instance, leave the Criteria property unspecified and set the Method property to the name of the implemented method.

See Also