New to Telerik UI for WPF? Download free 30-day trial

Set RadDesktopAlert Control's Background Color

Environment

Product Version 2021.2.615
Product RadDesktopAlert for WPF

Description

How to change the RadDesktopAlert control's background color.

Solution

When creating a new RadDesktopAlert instance, set the Background property to be the desired color.

var alert = new RadDesktopAlert 
{ 
    Background = Brushes.Red 
}; 
Dim alert = New RadDesktopAlert With { 
    .Background = Brushes.Red 
} 
In this article