Class RadMessageBox
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadMessageBox
Constructors
RadMessageBox()
Declaration
public RadMessageBox()
Properties
Cursor
Set the cursor that is displayed when the mouse pointer is over the control.
Declaration
public static Cursor Cursor { set; }
Property Value
System.
|
Instance
Gets the RadMessageBoxForm instance
Declaration
public static RadMessageBoxForm Instance { get; }
Property Value
LastShowDpiScale
Declaration
public static SizeF LastShowDpiScale { get; }
Property Value
System.
|
ShowInTaskbar
Set the message to be shown in windows taskbar. Default is false
Declaration
public static bool ShowInTaskbar { set; }
Property Value
System.
|
ThemeName
Gets or set theme name for the whole RadMessageBox
Declaration
public static string ThemeName { get; set; }
Property Value
System.
|
UseCompatibleTextRendering
Determines whether to use compatible text rendering engine (GDI+) or not (GDI).
Declaration
public static bool UseCompatibleTextRendering { set; }
Property Value
System.
|
Methods
SetThemeName(String)
Set theme name for the whole RadMessageBox
Declaration
public static void SetThemeName(string themeName)
Parameters
System.
|
Show(String)
Displays RadMessageBox with specified text.
Declaration
public static DialogResult Show(string text)
Parameters
System. The text to display in the RadMessageBox. |
Returns
System. One of the System. |
Show(String, String)
Displays RadMessageBox with specified text and caption.
Declaration
public static DialogResult Show(string text, string caption)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons)
Displays a RadMessageBox with specified text, caption, and buttons.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons, String)
Displays a RadMessageBox with specified text, caption, and buttons.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, string detailsText)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
System. If this parameter is set to a string value the message box will contain a details button and a text field which will display this string. |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons, RadMessageIcon)
Displays a RadMessageBox with specified text, caption, buttons, and icon.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons, RadMessageIcon, String)
Displays a RadMessageBox with specified text, caption, buttons, and icon.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, string detailsText)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. If this parameter is set to a string value the message box will contain a details button and a text field which will display this string. |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons, RadMessageIcon, MessageBoxDefaultButton)
Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. One of the System. |
Returns
System. One of the System. |
Show(String, String, MessageBoxButtons, RadMessageIcon, MessageBoxDefaultButton, String)
Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
Declaration
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton, string detailsText)
Parameters
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. One of the System. |
System. If this parameter is set to a string value the message box will contain a details button and a text field which will display this string. |
Returns
System. One of the System. |
Show(IWin32Window, String)
Displays a RadMessageBox in front of the specified object and with the specified text.
Declaration
public static DialogResult Show(IWin32Window parent, string text)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
Returns
System. One of the System. |
Show(IWin32Window, String, String)
Displays a RadMessageBox in front of the specified object and with the specified text and caption.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, Bitmap)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
System. System. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, Bitmap, MessageBoxDefaultButton)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon, MessageBoxDefaultButton defaultBtn)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
System. System. |
System. One of the System. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, String)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, string detailsText)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
System. If this parameter is set to a string value the message box will contain a details button and a text field which will display this string. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, RadMessageIcon)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, RadMessageIcon, MessageBoxDefaultButton)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. One of the System. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, RadMessageIcon, MessageBoxDefaultButton, RightToLeft)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. One of the System. |
System. One of the System. |
Returns
System. One of the System. |
Show(IWin32Window, String, String, MessageBoxButtons, RadMessageIcon, MessageBoxDefaultButton, RightToLeft, String)
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Declaration
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl, string detailsText)
Parameters
System. An implementation of System. |
System. The text to display in the RadMessageBox. |
System. The text to display in the title bar of the RadMessageBox. |
System. One of the System. |
Rad One of the Rad |
System. One of the System. |
System. One of the System. |
System. If this parameter is set to a string value the message box will contain a details button and a text field which will display this string. |
Returns
System. One of the System. |