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.v20.1.dll

Declaration

public class XtraForm :
    MouseWheelContainerForm,
    ISupportLookAndFeel,
    IDXControl,
    ICustomDrawNonClientArea,
    IGlassForm,
    ISupportDXSkinColorsEx,
    ISupportDXSkinColors,
    IFormShadowClientEx,
    IFormShadowClient
Public Class XtraForm
    Inherits MouseWheelContainerForm
    Implements ISupportLookAndFeel,
               IDXControl,
               ICustomDrawNonClientArea,
               IGlassForm,
               ISupportDXSkinColorsEx,
               ISupportDXSkinColors,
               IFormShadowClientEx,
               IFormShadowClient

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