Edit this page

Getting Started

This topic will walk you through the creating of RadDesktopAlert.

In order to use RadDesktopAlert in your project you have to add references to the following three assemblies:

  • Telerik.Windows.Controls.dll
  • Telerik.Windows.Controls.Navigation.dll
  • Telerik.Windows.Data.dll

You can include the control in your page by either dragging it from the toolbox in Visual Studio, or manually creating the control. Below is an example of how to create RadDesktopAlert in code behind:

Creating RadDesktopAlert

var alert = new RadDesktopAlert();
alert.Header = "MAIL NOTIFICATION";
alert.Content = "Hello, Here are two things that we noticed today on our daily meeting.";
alert.ShowDuration = 3000;
Dim alert = New RadDesktopAlert()
alert.Header = "MAIL NOTIFICATION"
alert.Content = "Hello, Here are two things that we noticed today on our daily meeting."
alert.ShowDuration = 3000

RadDesktopAlert is designed to work with RadDesktopAlertManager. If just placed in XAML it won't be completely functional.

In order to visualize it, a new instance of RadDesktopAlertManager should be created and the already declared above RadDesktopAlert should be passed as a parameter to its ShowAlert method:

Showing RadDesktopAlert

RadDesktopAlertManager manager = new RadDesktopAlertManager();
manager.ShowAlert(alert);
Dim manager As New RadDesktopAlertManager()
manager.ShowAlert(alert)

See Also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy