ClassAlertInfo
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:
public class AlertInfo
Inheritance: objectAlertInfo
Constructors
AlertInfo(string)
Creates an instance of the AlertInfoclass with specified content text.
Declaration
public AlertInfo(string contentText)
Parameters
contentText
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
public AlertInfo(string contentText, string captionText)
Parameters
contentText
The text which will be displayed as a content of the RadDesktopAlert
captionText
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
public AlertInfo(string contentText, string captionText, Image alertImage)
Parameters
contentText
The text which will be displayed as a content of the RadDesktopAlert
captionText
The text which will be displayed as a caption of the RadDesktopAlert
alertImage
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
public AlertInfo(string contentText, string captionText, Image alertImage, RadItemCollection alertButtons)
Parameters
contentText
The text which will be displayed as a content of the RadDesktopAlert
captionText
The text which will be displayed as a caption of the RadDesktopAlert
alertImage
An instance of the Imageclass that will be displayed as a content image of the RadDesktopAlert
alertButtons
An instance of the RadItemCollectionclass that holds the buttons which will be displayed in the RadDesktopAlert