Skip to main content
A newer version of this page is available. .

RepositoryItemPopupBase.AppearanceDropDown Property

Gets the appearance settings used to paint the editor’s popup window.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceDropDown { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint the editor’s popup window.

Remarks

Use this property to specify the popup window’s font settings, foreground and background colors, etc. The image below shows a customized version of the date editor.

AppearanceDropDown_PopupBase

A gradient background is only supported for a DateEdit control. For other dropdown controls, their backgrounds are only painted using solid colors specified by the AppearanceDropDown.BackColor property.

To customize the appearance settings of the GridLookUpEdit‘s dropdown, you need to use the grid’s designer. At design time, select the RepositoryItemGridLookUpEditBase.PopupView property in the Properties window. Click the ellipsis button to invoke the designer. Then, switch to the Appearances page and set the styles as your needs dictate.

The AppearanceDropDown property is not supported for a GridLookUpEdit and SearchLookUpEdit controls. These controls display a GridControl within their popup windows. To customize the embedded grid control’s appearance settings, use the GridView.Appearance property provided by the RepositoryItemGridLookUpEditBase.PopupView object.

Beside a grid control, a GridLookUpEdit control contains other controls within its popup window. For an example of customizing the appearance of these controls, see the following link: How to customize popup window appearance in SearchLookUpEdit.

For more information on appearances, see the Appearance Settings document.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppearanceDropDown property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also