Skip to main content
.NET Framework 4.6.2+

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