RadMessageBox
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadMessageBox
Inheritance: objectRadMessageBox
Constructors
public RadMessageBox()
Properties
Set the cursor that is displayed when the mouse pointer is over the control.
public static Cursor Cursor { set; }
Gets the RadMessageBoxForm instance
public static RadMessageBoxForm Instance { get; }
public static SizeF LastShowDpiScale { get; }
Set the message to be shown in windows taskbar. Default is false
public static bool ShowInTaskbar { set; }
Gets or set theme name for the whole RadMessageBox
public static string ThemeName { get; set; }
Determines whether to use compatible text rendering engine (GDI+) or not (GDI).
public static bool UseCompatibleTextRendering { set; }
Methods
Set theme name for the whole RadMessageBox
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon, MessageBoxDefaultButton defaultBtn)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconBitmapIcon that displays in the RadMessageBox.
defaultBtnMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconBitmapIcon that displays in the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl, string detailsText)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
defaultBtnMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
rtlRightToLeftOne of the RightToLeft values that specifies right to left settings.
detailsTextstringIf 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:One of the DialogResult values
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
defaultBtnMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
rtlRightToLeftOne of the RightToLeft values that specifies right to left settings.
Returns:One of the DialogResult values
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
defaultBtnMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
Returns:One of the DialogResult values
Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, string detailsText)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
detailsTextstringIf 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:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
public static DialogResult Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text and caption.
public static DialogResult Show(IWin32Window parent, string text, string caption)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox in front of the specified object and with the specified text.
public static DialogResult Show(IWin32Window parent, string text)
An implementation of IWin32Window that will own the RadMessageBox.
textstringThe text to display in the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton, string detailsText)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
defaultButtonMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
detailsTextstringIf 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:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
defaultButtonMessageBoxDefaultButtonOne of the MessageBoxDefaultButton values that specifies the default button for the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, buttons, and icon.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, string detailsText)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
detailsTextstringIf 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:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, buttons, and icon.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
iconRadMessageIconOne of the RadMessageIcon values that specifies which icon to display in the RadMessageBox.
Returns:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, and buttons.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, string detailsText)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
detailsTextstringIf 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:One of the DialogResult values.
Displays a RadMessageBox with specified text, caption, and buttons.
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
buttonsMessageBoxButtonsOne of the MessageBoxButtons values that specifies which buttons to display in the RadMessageBox.
Returns:One of the DialogResult values.
Displays RadMessageBox with specified text and caption.
public static DialogResult Show(string text, string caption)
The text to display in the RadMessageBox.
captionstringThe text to display in the title bar of the RadMessageBox.
Returns:One of the DialogResult values.
Displays RadMessageBox with specified text.
public static DialogResult Show(string text)
The text to display in the RadMessageBox.
Returns:One of the DialogResult values