New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago
PropertyDescription
InstanceGets the RadMessageBoxForm instance.
ShowInTaskbarSet the message to be shown in windows task bar. Default is false

RadMessageBoxForm's Properties

PropertyDescription
EnableBeepGets or sets a value indicating whether a beep is played when the message box is shown.
ButtonsConfigurationSpecifies which buttons to be displayed. It is typeof(MessageBoxButtons).
DefaultButtonSpecifies the default buttons on RadMessageBox. It is typeof(MessageBoxDefaultButton).
RightToLeftSpecifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.
MessageTextSets the RadMessageBox's text.
TextSets the RadMessageBox's caption text.
DetailsTextSets the RadMessageBox's details text.
MessageIconSets the RadMessageBox's icon.
ButtonSizeGets or sets the size of the buttons shown in the message box.

Methods

MethodDescription
Show(string text)Displays RadMessageBox with specified text.
Show(string text, string caption)Displays RadMessageBox with specified text and caption.
Show(string text, string caption, MessageBoxButtons buttons)Displays a RadMessageBox with specified text, caption, and buttons.
Show(string text, string caption, MessageBoxButtons buttons, string detailsText)Displays a RadMessageBox with specified text, caption, and buttons.
Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)Displays a RadMessageBox with specified text, caption, buttons, and icon.
Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, string detailsText)Displays a RadMessageBox with specified text, caption, buttons, and icon.
Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton)Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
Show(string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton, string detailsText)Displays a RadMessageBox with specified text, caption, buttons, icon and default button.
Show(IWin32Window parent, string text)Displays a RadMessageBox in front of the specified object and with the specified text.
Show(IWin32Window parent, string text, string caption)Displays a RadMessageBox in front of the specified object and with the specified text and caption.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons)Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, string detailsText)Displays a RadMessageBox in front of the specified object and with the specified text, caption, and buttons.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, and icon.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultBtn, RightToLeft rtl, string detailsText)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.
Show(IWin32Window parent, string text, string caption, MessageBoxButtons buttons, Bitmap icon, MessageBoxDefaultButton defaultBtn)Displays a RadMessageBox in front of the specified object and with the specified text, caption, buttons, icon, and default button.

Events

EventDescription
RadMessageBox.Instance.ShownOccurs whenever the RadMessageBoxForm is first displayed.

See Also

In this article
See Also
Not finding the help you need?
Contact Support