New to Telerik UI for WinForms? Start a free 30-day trial
Properties
Updated over 6 months ago
| Property | Description |
|---|---|
| Instance | Gets the RadMessageBoxForm instance. |
| ShowInTaskbar | Set the message to be shown in windows task bar. Default is false |
RadMessageBoxForm's Properties
| Property | Description |
|---|---|
| EnableBeep | Gets or sets a value indicating whether a beep is played when the message box is shown. |
| ButtonsConfiguration | Specifies which buttons to be displayed. It is typeof(MessageBoxButtons). |
| DefaultButton | Specifies the default buttons on RadMessageBox. It is typeof(MessageBoxDefaultButton). |
| RightToLeft | Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts. |
| MessageText | Sets the RadMessageBox's text. |
| Text | Sets the RadMessageBox's caption text. |
| DetailsText | Sets the RadMessageBox's details text. |
| MessageIcon | Sets the RadMessageBox's icon. |
| ButtonSize | Gets or sets the size of the buttons shown in the message box. |
Methods
| Method | Description |
|---|---|
| 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
| Event | Description |
|---|---|
| RadMessageBox.Instance.Shown | Occurs whenever the RadMessageBoxForm is first displayed. |