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

AppearanceController.CustomGetIsRulePropertiesEmpty Event

Occurs when the Appearance Controller collects the appearance rules and determines whether or not the specific IAppearanceRuleProperties object is empty.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

#Declaration

public event EventHandler<CustomGetIsRulePropertiesEmptyEventArgs> CustomGetIsRulePropertiesEmpty

#Event Data

The CustomGetIsRulePropertiesEmpty event's data class is DevExpress.ExpressApp.ConditionalAppearance.CustomGetIsRulePropertiesEmptyEventArgs.

#Remarks

By default, the IAppearance.FontStyle, IAppearance.FontColor, IAppearance.BackColor, IAppearance.Visibility and IAppearance.Enabled nullable properties of the IAppearanceRuleProperties object are checked for a value presence and a rule properties object is considered empty if there are no values found. Once a rule properties object is considered empty, it is excluded from the processing list and is not processed at all. The result is cached to avoid duplicated calculations. Handle the CustomGetIsRulePropertiesEmpty event in case you have introduced new properties and want to manually manage their values.

See Also