windowsforms-devexpress-dot-xtraeditors-dot-xtraform-772c591c.md
Gets the appearance settings used to paint the form.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public AppearanceObject Appearance { get; }
Public ReadOnly Property Appearance As AppearanceObject
| Type | Description |
|---|---|
| AppearanceObject |
An AppearanceObject object which contains the form’s appearance settings.
|
The BackColor2 , GradientMode and Image properties are not supported by the XtraForm. To specify the background image, use the form’s BackgroundImage property.
For more information on appearances, see the Appearances document.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Appearance 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.
CustomPopupForm form = info.ViewInfo.Form as CustomPopupForm;
DrawClear(form.IsHotTrackClearButton, form.Appearance, info.Cache, form.ClearButtonRectangle);
}
Dim form As CustomPopupForm = TryCast(info.ViewInfo.Form, CustomPopupForm)
DrawClear(form.IsHotTrackClearButton, form.Appearance, info.Cache, form.ClearButtonRectangle)
End Sub
See Also