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.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class AlertInfo
Constructors
AlertInfo(String)
Creates an instance of the AlertInfoclass with specified content text.
Declaration
public AlertInfo(string contentText)
Parameters
|
System.String
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
|
System.String
contentText
The text which will be displayed as a content of the RadDesktopAlert |
|
System.String
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
|
System.String
contentText
The text which will be displayed as a content of the RadDesktopAlert |
|
System.String
captionText
The text which will be displayed as a caption of the RadDesktopAlert |
|
System.Drawing.Image
alertImage
An instance of the System.Drawing.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
|
System.String
contentText
The text which will be displayed as a content of the RadDesktopAlert |
|
System.String
captionText
The text which will be displayed as a caption of the RadDesktopAlert |
|
System.Drawing.Image
alertImage
An instance of the System.Drawing.Imageclass that will be displayed as a content image of the RadDesktopAlert |
|
RadItemCollection
alertButtons
An instance of the RadItemCollectionclass that holds the buttons which will be displayed in the RadDesktopAlert |