.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

AppearanceController.CustomCreateAppearanceRule Event

Occurs when an AppearanceRule object is created.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

Declaration

public event EventHandler<CustomCreateAppearanceRuleEventArgs> CustomCreateAppearanceRule
Public Event CustomCreateAppearanceRule As EventHandler(Of CustomCreateAppearanceRuleEventArgs)
public event EventHandler<CustomCreateAppearanceRuleEventArgs> CustomCreateAppearanceRule
Public Event CustomCreateAppearanceRule As EventHandler(Of CustomCreateAppearanceRuleEventArgs)
public event EventHandler<CustomCreateAppearanceRuleEventArgs> CustomCreateAppearanceRule
Public Event CustomCreateAppearanceRule As EventHandler(Of CustomCreateAppearanceRuleEventArgs)

Event Data

The CustomCreateAppearanceRule event handler receives an argument of the DevExpress.ExpressApp.ConditionalAppearance.CustomCreateAppearanceRuleEventArgs type.

Remarks

Use this event to manually create an AppearanceRule object from the passed IAppearanceRuleProperties object. By default, the passed IAppearanceRuleProperties object is wrapped to a CachedAppearanceRuleProperties object and additional custom properties are lost during this operation.

See Also