Skip to main content

ThemedWindow.ShowGlow Property

Gets or sets whether the window glow effect is displayed. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ShowGlow { get; set; }

Property Value

Type Description
Boolean

true, to display the window glow effect; otherwise, false.

Remarks

Use the ShowGlow property to enable or disable the window glow effect for the ThemedWindow.

You can paint the glow effect with custom colors. Set the ThemedWindow.UseGlowColors property to true to paint the glow effect with the 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.

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}" 
    ShowGlow="True" ActiveGlowColor="Red" InactiveGlowColor="GreenYellow" UseGlowColors="True">
...
</dx:ThemedWindow>

The images below illustrate the result.

  • for a focused window:

    ThemedWindows_GlowActive

  • for a non-focused window:

    ThemedWindows_GlowInActive

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowGlow 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.

See Also