Class
AlertInfo

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:

cs-api-definition
public class AlertInfo

Inheritance: objectAlertInfo

Constructors

AlertInfo(string)

Creates an instance of the AlertInfoclass with specified content text.

Declaration

cs-api-definition
public AlertInfo(string contentText)

Parameters

contentText

string

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

AlertInfo(string, string)

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

Declaration

cs-api-definition
public AlertInfo(string contentText, string captionText)

Parameters

contentText

string

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

captionText

string

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

AlertInfo(string, string, Image)

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

Declaration

cs-api-definition
public AlertInfo(string contentText, string captionText, Image alertImage)

Parameters

contentText

string

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

captionText

string

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

alertImage

Image

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

AlertInfo(string, string, Image, RadItemCollection)

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

Declaration

cs-api-definition
public AlertInfo(string contentText, string captionText, Image alertImage, RadItemCollection alertButtons)

Parameters

contentText

string

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

captionText

string

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

alertImage

Image

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

alertButtons

RadItemCollection

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