Skip to main content
.NET Framework 4.6.2+

IAppearance.Priority Property

Specifies the volume of the conditional appearance rule. Used when several rules affect the same UI element.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v24.2.dll

Declaration

int Priority { get; set; }

Property Value

Type Description
Int32

An integer value specifying the volume of the conditional appearance rule.

Remarks

There can be several conditional appearance rules affecting a property, layout item, layout group or Action. In this instance, the rules are applied according to the value specified by the Priority property. So, rules with higher Priority may override changes made by rules with a lower Priority.

Priority is not taken into account for rules that change the visibility state. A rule that hides a certain item always overrides other rules that enable the same item.

See Also