Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraForm Class

A form that supports title bar and border skinning. The appearance settings of the XtraForm affect the look and feel settings of the DevExpress UI controls placed within it.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

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

The following members return XtraForm objects:

Library Related API Members
WinForms Controls EditFormPreparedEventArgs.EditForm
XAF: Cross-Platform .NET App UI & Web API CreateCustomFormEventArgs.Form

#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.

Use the XtraForm.LookAndFeel property to customize the form’s look and feel settings. These settings specify how headers, borders, buttons, and other visual elements of the DevExpress controls contained within the form are painted.

DevExpress forms (including 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 automatically enabled in v17.2 and higher. To learn more about this feature and how to disable it, see the Skins topic.

See Also