[This is preliminary documentation and is subject to change.]
Provides technology-independent managed base class for WinForms and WPF message boxes
The MessageBox..::..MessageBoxButton type exposes the following members.
Constructors
Methods
Properties
| Name | Description | |
|---|---|---|
| Abort | Default Abort button | |
| AccessKey | Gets or sets access key (access character for the button) | |
| Cancel | Default Cancel button | |
| Collection | Gets collection which's owner owns this control (Inherited from MessageBox..::..MessageBoxControl.) | |
| Control | Gets or sets physical control that currently implements this control (Inherited from MessageBox..::..MessageBoxControl.) | |
| Enabled | Gets or sets value indicating if button is enabled (accessible) or not (Inherited from MessageBox..::..MessageBoxControl.) | |
| Help | Default Help button | |
| Ignore | Default Ignore button | |
| IsCancel | Gets value indicating if this button should be considered cancel button | |
| IsDefault | Gets value indication if this button is default of message box | |
| IsTime | Gets value indicating if this button is timer button | |
| No | Defaut No button | |
| OK | Default OK button | |
| OwnerMessageBox | Gets messagebox this control is owned by (Inherited from MessageBox..::..MessageBoxControl.) | |
| Result | Gets or sets result produced by this button | |
| Retry | Default Retry button | |
| Text | Gets or sets text displayed on control (Inherited from MessageBox..::..MessageBoxControl.) | |
| TextIncludingAccessKey | Gets text of button with platform-specific accesskey indication | |
| TextIncludingAccessKeyAndTimer | Gets text of button with possible time text and platform-specific accesskey indication | |
| TextIncludingTimer | Gets text of button with with possible time text | |
| ToolTip | Gets or sets tool tip text for the button (Inherited from MessageBox..::..MessageBoxControl.) | |
| Yes | Default Yes button |
Events
| Name | Description | |
|---|---|---|
| AccessKeyChanged | Raised when value of the AccessKey property changes | |
| ClickPreview | Raised when button is clicked, before action associated with the button is taken. This event can be canceled. | |
| EnabledChanged | Raised when value of the Enabled property changes (Inherited from MessageBox..::..MessageBoxControl.) | |
| Changed | Raised when value of member changes (Inherited from MessageBox..::..MessageBoxControl.) | |
| OwnerChanged | Raised when value of the OwnerMessageBox property changes (Inherited from MessageBox..::..MessageBoxControl.) | |
| PropertyChanged | Occurs when a property value changes. (Inherited from MessageBox..::..MessageBoxControl.) | |
| ResultChanged | Raised when value of the Result property changes | |
| TextChanged | Raised when value of the Text property changes (Inherited from MessageBox..::..MessageBoxControl.) | |
| ToolTipChanged | Raised when value of the ToolTip property changes (Inherited from MessageBox..::..MessageBoxControl.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICollectionCancelItem..::..OnAdding | (Inherited from MessageBox..::..MessageBoxControl.) | |
| ICollectionCancelItem..::..OnRemoving | (Inherited from MessageBox..::..MessageBoxControl.) | |
| ICollectionCancelItem..::..OnClearing | (Inherited from MessageBox..::..MessageBoxControl.) | |
| ICollectionNotifyItem..::..Collections | (Inherited from MessageBox..::..MessageBoxControl.) |