The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

public event EventHandler<CustomGetIsRulePropertiesEmptyEventArgs> CustomGetIsRulePropertiesEmpty
Public Event CustomGetIsRulePropertiesEmpty As EventHandler(Of CustomGetIsRulePropertiesEmptyEventArgs)

Event Data

The CustomGetIsRulePropertiesEmpty event handler receives an argument of the DevExpress.ExpressApp.ConditionalAppearance.CustomGetIsRulePropertiesEmptyEventArgs type.

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