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

ThemedWindow.ActiveGlowColor Property

Gets or sets the brush used to paint the window glow effect when the window is focused. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

Declaration

public SolidColorBrush ActiveGlowColor { get; set; }

Property Value

Type Description
SolidColorBrush

A SolidColorBrush object that is the brush used to paint the window glow effect when the window is focused.

Remarks

Use the ActiveGlowColor property to set the brush used to paint the glow effect when a ThemedWindow is focused. To specify the brush to paint the glow effect for an inactive ThemedWindow, use the ThemedWindow.InactiveGlowColor property.

The ActiveGlowColor and ThemedWindow.InactiveGlowColor properties are in effect when the ThemedWindow.ShowGlow and ThemedWindow.UseGlowColors properties are 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 image below illustrates the result (the glow effect for a focused window).

ThemedWindows_GlowActive

See Also