New to Telerik UI for WinFormsStart a free 30-day trial

This class encapsulates information needed for displaying a RadDesktopAlert. The class contains caption text, content text, content image and a collection of buttons.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class AlertInfo

Inheritance: objectAlertInfo

Constructors

Creates an instance of the AlertInfo class with specified content text, caption text, content image and a collection of buttons.

C#
public AlertInfo(string contentText, string captionText, Image alertImage, RadItemCollection alertButtons)
Parameters:contentTextstring

The text which will be displayed as a content of the RadDesktopAlert

captionTextstring

The text which will be displayed as a caption of the RadDesktopAlert

alertImageImage

An instance of the Imageclass that will be displayed as a content image of the RadDesktopAlert

alertButtonsRadItemCollection

An instance of the RadItemCollectionclass that holds the buttons which will be displayed in the RadDesktopAlert

Creates an instance of the AlertInfo class with specified content text, caption text and content image.

C#
public AlertInfo(string contentText, string captionText, Image alertImage)
Parameters:contentTextstring

The text which will be displayed as a content of the RadDesktopAlert

captionTextstring

The text which will be displayed as a caption of the RadDesktopAlert

alertImageImage

An instance of the Imageclass that will be displayed as a content image of the RadDesktopAlert

Creates an instance of the AlertInfo class with specified content text and caption text.

C#
public AlertInfo(string contentText, string captionText)
Parameters:contentTextstring

The text which will be displayed as a content of the RadDesktopAlert

captionTextstring

The text which will be displayed as a caption of the RadDesktopAlert

Creates an instance of the AlertInfoclass with specified content text.

C#
public AlertInfo(string contentText)
Parameters:contentTextstring

The text which will be displayed as a content of the RadDesktopAlert