Skip to main content

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

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

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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