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

Declaration

public bool ShowGlow { get; set; }
Public Property ShowGlow As Boolean

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

See Also