[This is preliminary documentation and is subject to change.]
Provides technology-independent managed base class for WinForms and WPF message boxes
The MessageBox..::..MessageBoxControl type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MessageBox..::..MessageBoxControl | Initializes a new instance of the MessageBox..::..MessageBoxControl class |
Methods
| Name | Description | |
|---|---|---|
| OnAddedToCollection | Called after item is added to collection | |
| OnEnabledChanged | Raises the EnabledChanged event, calls OnChanged(EventArgs) | |
| OnChanged | ||
| OnOwnerChanged | Raises the OwnerChanged event, calls OnChanged(EventArgs) | |
| OnPropertyChanged | Raises the PropertyChanged event | |
| OnRemovedFromCollection | Called after item is removed from collection (or after collection was cleared) | |
| OnTextChanged | Raises the TextChanged event, calls OnChanged(EventArgs) | |
| OnToolTipChanged | Raises the ToolTipChanged event, calls OnChanged(EventArgs) |
Properties
| Name | Description | |
|---|---|---|
| Collection | Gets collection which's owner owns this control | |
| Control | Gets or sets physical control that currently implements this control | |
| Enabled | Gets or sets value indicating if button is enabled (accessible) or not | |
| OwnerMessageBox | Gets messagebox this control is owned by | |
| Text | Gets or sets text displayed on control | |
| ToolTip | Gets or sets tool tip text for the button |
Events
| Name | Description | |
|---|---|---|
| EnabledChanged | Raised when value of the Enabled property changes | |
| Changed | Raised when value of member changes | |
| OwnerChanged | Raised when value of the OwnerMessageBox property changes | |
| PropertyChanged | Occurs when a property value changes. | |
| TextChanged | Raised when value of the Text property changes | |
| ToolTipChanged | Raised when value of the ToolTip property changes |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICollectionCancelItem..::..OnAdding | ||
| ICollectionCancelItem..::..OnRemoving | ||
| ICollectionCancelItem..::..OnClearing | ||
| ICollectionNotifyItem..::..Collections |