RepositoryItemPopupBase.AppearanceDropDown Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceDropDown { get; }
<DXCategory("Appearance")>
Public Overridable ReadOnly Property AppearanceDropDown As AppearanceObject

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 Application Appearance and Skin Colors document.

See Also