A newer version of this page is available. Switch to the current version.

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


public bool UseGlowColors { get; set; }

Property Value

Type Description

true, to paint the glow effect using custom colors; otherwise, false.


You can paint the glow effect with custom colors. Set the UseGlowColors property to true to paint the glow effect with custom colors. You can specify custom colors to paint a glow for focused and non-focused windows using 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.

    x:Class="MyWpfApp.MainWindow" Title="Orders by Employees" Icon="{dxc:DXImage Image=BOOrderItem_32x32.png}" 
    ActiveGlowColor="Red" InactiveGlowColor="GreenYellow" UseGlowColors="True">

The images below illustrate the result.

  • for a focused window:


  • for a non-focused window:


See Also