wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-1269c6c8.md
Gets or sets whether the Acrylic effect is enabled. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool EnableAcrylic { get; set; }
Public Property EnableAcrylic As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true, to enable the Acrylic effect; otherwise, false.
|
Note
The Acrylic effect is available only in Windows 10.
Run Demo: Fluent Design Calculator
Acrylic makes the ThemedWindow (including title bar) translucent to add a depth effect.
You can use the AcrylicColor or AcrylicOpacity property to specify the ThemedWindow‘s background color or opacity when the Acrylic effect is enabled.
When the Acrylic effect is enabled, the ThemedWindow.WindowKind property is set to WindowKind.Normal.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableAcrylic property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L16
mc:Ignorable="d"
Title="YourCRM" Height="665" Width="1190" EnableAcrylic="True" AcrylicOpacity="0.6" AcrylicColor="#FF02111D" Icon="{dx:DXImage SvgImages/Icon Builder/Business_Target.svg}" ActiveGlowColor="#FF02111D">
<dx:ThemedWindow.Resources>
See Also