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:
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.
public AlertInfo(string contentText, string captionText, Image alertImage, RadItemCollection alertButtons)
The text which will be displayed as a content of the RadDesktopAlert
captionTextstringThe text which will be displayed as a caption of the RadDesktopAlert
alertImageImageAn instance of the Imageclass that will be displayed as a content image of the RadDesktopAlert
alertButtonsRadItemCollectionAn 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.
public AlertInfo(string contentText, string captionText, Image alertImage)
The text which will be displayed as a content of the RadDesktopAlert
captionTextstringThe text which will be displayed as a caption of the RadDesktopAlert
alertImageImageAn 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.
public AlertInfo(string contentText, string captionText)
The text which will be displayed as a content of the RadDesktopAlert
captionTextstringThe text which will be displayed as a caption of the RadDesktopAlert
Creates an instance of the AlertInfoclass with specified content text.
public AlertInfo(string contentText)
The text which will be displayed as a content of the RadDesktopAlert