Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ThemedWindow.InactiveGlowColor Property

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

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public SolidColorBrush InactiveGlowColor { 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 not focused.

#Remarks

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

The ThemedWindow.ActiveGlowColor and 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" 
    ...
    Title="Orders by Employees"
    ActiveGlowColor="Red" InactiveGlowColor="GreenYellow" UseGlowColors="True">
...
</dx:ThemedWindow>

The image below illustrates a non-focused window’s glow effect.

ThemedWindows_GlowInActive.png

See Also