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

CollectAppearanceRulesEventArgs.AppearanceRules Property

Provides access to the list of conditional appearance rules found for the target UI element in the Application Model.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v24.2.dll

#Declaration

public List<IAppearanceRuleProperties> AppearanceRules { get; }

#Property Value

Type Description
List<IAppearanceRuleProperties>

A list of IAppearanceRuleProperties objects representing conditional appearance rules found for the target UI element in the Application Model.

#Remarks

This property returns a list of conditional appearance rules found in the Application Model for the UI element specified by the CollectAppearanceRulesEventArgs.Name and CollectAppearanceRulesEventArgs.ViewInfo properties. You can add dynamically created conditional appearance rules to the list in the handler of the AppearanceController.CollectAppearanceRules event. After this event is raised, the rules from this list are filtered, leaving only those rules whose IAppearanceRuleProperties.Criteria and IAppearanceRuleProperties.Method properties are satisfied.

See Also