Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public Color AcrylicColor { get; set; }

Property Value

Type Description
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:

WPF Acrylic Window - Color Property

<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.

See Also