ThemedWindow.UseGlowColors Property
Gets or sets whether the ThemedWindow should paint a glow effect with custom colors. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v25.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean | true, to paint the glow effect using custom colors; otherwise, false. |
Remarks
You can set the UseGlowColors property to true to paint the glow effect with custom colors. To specify custom colors to paint a glow effect for focused and non-focused windows, use the ThemedWindow.ActiveGlowColor and ThemedWindow.InactiveGlowColor properties, respectively.
If the UseGlowColors property is set to false, the window glow effect is painted with colors specified in the current theme settings.
The UseGlowColors property is in effect when the ThemedWindow.ShowGlow property is set to true.
The code sample below demonstrates how to enable custom glow colors for the ThemedWindow.
<dx:ThemedWindow
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
...
x:Class="MyWpfApp.MainWindow" Title="Orders by Employees" Icon="{dxc:DXImage Image=BOOrderItem_32x32.png}"
ActiveGlowColor="Red" InactiveGlowColor="GreenYellow" UseGlowColors="True">
...
</dx:ThemedWindow>
The images below illustrate the result.
For a focused window:

For a non-focused window:

Limitation
If the ThemedWindow.UseNativeWindow property value is true, UseGlowColors has no effect.