[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

  NameDescription
Protected methodMessageBox..::..MessageBoxControl
Initializes a new instance of the MessageBox..::..MessageBoxControl class

Methods

  NameDescription
Protected methodOnAddedToCollection
Called after item is added to collection
Protected methodOnEnabledChanged
Raises the EnabledChanged event, calls OnChanged(EventArgs)
Protected methodOnChanged
Raises the Changed event (and PropertyChanged when e is PropertyChangedEventArgs)
Protected methodOnOwnerChanged
Raises the OwnerChanged event, calls OnChanged(EventArgs)
Protected methodOnPropertyChanged
Raises the PropertyChanged event
Protected methodOnRemovedFromCollection
Called after item is removed from collection (or after collection was cleared)
Protected methodOnTextChanged
Raises the TextChanged event, calls OnChanged(EventArgs)
Protected methodOnToolTipChanged
Raises the ToolTipChanged event, calls OnChanged(EventArgs)

Properties

  NameDescription
Protected propertyCollection
Gets collection which's owner owns this control
Public propertyControl
Gets or sets physical control that currently implements this control
Public propertyEnabled
Gets or sets value indicating if button is enabled (accessible) or not
Public propertyOwnerMessageBox
Gets messagebox this control is owned by
Public propertyText
Gets or sets text displayed on control
Public propertyToolTip
Gets or sets tool tip text for the button

Events

  NameDescription
Public eventEnabledChanged
Raised when value of the Enabled property changes
Public eventChanged
Raised when value of member changes
Public eventOwnerChanged
Raised when value of the OwnerMessageBox property changes
Public eventPropertyChanged
Occurs when a property value changes.
Public eventTextChanged
Raised when value of the Text property changes
Public eventToolTipChanged
Raised when value of the ToolTip property changes

Explicit Interface Implementations

See Also