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
Property Value
Type | Description |
---|---|
Boolean | true to round ThemedWindow corners; otherwise false. |
Remarks
The figure below illustrates a window with 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