Skip to main content
A newer version of this page is available. .
All docs
V21.2

ThemedWindow.RoundCorners Property

Gets or sets whether the ThemedWindow and its desendants have rounded corners. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static bool RoundCorners { get; set; }

Property Value

Type Description
Boolean

true to round ThemedWindow corners; otherwise false.

Remarks

The figure below illustrates a window with rounded corners:

WPF Controls - ThemedWindow | Rounded Corners

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.

See Also