Skip to main content

AppearanceOptionsEx.HighPriority Property

Gets or sets whether the settings specified by the current appearance object have the highest priority.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool HighPriority { get; set; }

Property Value

Type Default Description
Boolean false

true to set the current appearance settings to the highest priority; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to HighPriority
AppearanceObjectEx
.Options .HighPriority

Remarks

The appearance of a single element in a control can be specified using multiple appearance objects which have different priorities. The appearance settings of an object which has the lower priority are used to paint an element only if the appearance settings of the objects with the higher priority aren’t specified (their corresponding appearance options, e.g. UseBackColor, UseForeColor, are disabled).

The HighPriority property allows a higher priority to be specified for particular appearance settings ensuring they are always used. For more information on appearances and appearance options, see the Appearances document.

See Also