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

AppearanceObject.ParentAppearance Property

Gets the parent appearance object.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[Browsable(false)]
public AppearanceObject ParentAppearance { get; }

#Property Value

Type Description
AppearanceObject

An AppearanceObject object representing the parent appearance object. null (Nothing in Visual Basic) if no parent appearance object is assigned.

#Remarks

The DevExpress Ribbon, Menu and Docking Library allows you to use appearance inheritance. This implies each appearance object can have a parent specified by the ParentAppearance property. The settings that are to be inherited from the parent are specified by the options listed in the AppearanceObject.Options property. You should disable options that correspond to appearance settings that are going to be inherited from the parent. For example, if you need to use the parent’s background color, set the child appearance object’s AppearanceOptions.UseBackColor property to false.

Note that the ParentAppearance property is read only. The parent can only be specified when creating a new AppearanceObject instance.

See Also