wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-226039c3.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public SolidColorBrush ActiveGlowColor { get; set; }
Public Property ActiveGlowColor As SolidColorBrush
| Type | Description |
|---|---|
| SolidColorBrush |
A SolidColorBrush object that is the brush used to paint the window glow’s effect when the window is focused.
|
Use the ActiveGlowColor property to set the brush used to paint the glow effect when a ThemedWindow is focused. To specify the brush that is used 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"
...
Title="Orders by Employees"
ActiveGlowColor="Red" InactiveGlowColor="GreenYellow" UseGlowColors="True">
...
</dx:ThemedWindow>
The image below illustrates a focused window’s glow effect.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActiveGlowColor property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L16
mc:Ignorable="d"
Title="YourCRM" Height="665" Width="1190" EnableAcrylic="True" AcrylicOpacity="0.6" AcrylicColor="#FF02111D" Icon="{dx:DXImage SvgImages/Icon Builder/Business_Target.svg}" ActiveGlowColor="#FF02111D">
<dx:ThemedWindow.Resources>
See Also