Back to Devexpress

ThemedWindow.AcrylicColor Property

wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-965eec84.md

latest2.9 KB
Original Source

ThemedWindow.AcrylicColor Property

Gets or sets the Acrylic effect’s color tint. This is a dependency property.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public Color AcrylicColor { get; set; }
vb
Public Property AcrylicColor As Color

Property Value

TypeDescription
Color

A Color object that specifies the ThemedWindow’s acrylic effect color tint.

|

Remarks

The AcrylicOpacity property is in effect only when the window is active.

Note

The AcrylicColor value’s alpha channel is ignored.

The following code sample sets the AcrylicColor property to Lavender :

xaml
<dx:ThemedWindow
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  ...
  EnableAcrylic="True"       
  AcrylicColor="Lavender">
  ...
</dx:ThemedWindow>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AcrylicColor 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

xml
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

AcrylicOpacity Property

EnableAcrylic Property

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace