Skip to main content
All docs
V24.2

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

Theme.Win11Light Field

The Win11Light theme.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public static Theme Win11Light

#Field Value

Type Description
Theme

The Win11Light theme (part of the Win11Category).

#Remarks

Win11Light

#Round Window Corners

You can use the RoundCorners and ThemedWindow.UseNativeWindow properties to specify whether corners of your application’s windows are rounded.

The following table describes whether your application’s corners are rounded depending on your Windows version, applied DevExpress Theme, and the UseNativeWindow and RoundCorners property values:

Windows Version

Applied DevExpress Theme

UseNativeWindow

RoundCorners

true

false

true

false

Windows 11

Win11Light/Win11Dark

yes

yes

yes

yes

non-Win11Light/Win11Dark

yes

no

yes

no

Windows 10 and earlier

Win11Light/Win11Dark

no[1]

yes

yes

yes

non-Win11Light/Win11Dark

no

no

yes

no

The following code sample rounds ThemedWindow corners:

using DevExpress.Xpf.Core;
//...

public partial class App {
    protected override void OnStartup(StartupEventArgs e) {
        base.OnStartup(e);
        ThemedWindow.RoundCorners = true;  
    }
}

#Limitation

The RoundCorners property has no effect when the EnableAcrylic property is true.

Footnotes
  1. Your application’s appearance will be broken.

See Also