Skip to main content
A newer version of this page is available. .

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

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>
See Also