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

XtraForm Class

A form that supports title bar and border skinning. Provides centralized control over the look and feel settings of the DevExpress controls placed on it.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v21.2.dll

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

Declaration

public class XtraForm :
    MouseWheelContainerForm,
    ISupportLookAndFeel,
    IDXControl,
    ICustomDrawNonClientArea,
    ICustomDrawNonClientAreaEx,
    IGlassForm,
    ISupportDXSkinColorsEx,
    ISupportDXSkinColors,
    IFormShadowClientEx,
    IFormShadowClient,
    IFormIconOptionsOwner

Remarks

The XtraForm class is derived from the Form and extends its functionality with the support of the look and feel mechanism. This feature allows you to apply a consistent look-and-feel to the form and the controls residing within it.

The form’s look and feel settings can be customized via the XtraForm.LookAndFeel property. These settings specify how headers, borders, buttons and other visual elements of the DevExpress controls contained within the form are painted, by default.

DevExpress forms (including the XtraForm, XtraMessageBox, various dialogs and message boxes displayed by DevExpress controls) support title bar and border skinning. The following image shows a form painted using the Caramel skin:

SkinnedXtraForm

Form skinning is enabled by default starting from version 17.2. To learn more about this feature and how to disable it, see Skins.

See Also