Back to Devexpress

AppearanceOptionsEx.HighPriority Property

windowsforms-devexpress-dot-utils-dot-appearanceoptionsex.md

latest2.4 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool HighPriority { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property HighPriority As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

Appearances

AppearanceOptionsEx Class

AppearanceOptionsEx Members

DevExpress.Utils Namespace