[This is preliminary documentation and is subject to change.]

Gets or sets default implementation used for messageboxes shown by static Show(Window, String) methods of this class

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static Type DefaultImplementation { get; set; }
Visual Basic
Public Shared Property DefaultImplementation As Type
	Get
	Set
Visual C++
public:
static property Type^ DefaultImplementation {
	Type^ get ();
	void set (Type^ value);
}
F#
static member DefaultImplementation : Type with get, set
JScript
static function get DefaultImplementation () : Type
static function set DefaultImplementation (value : Type)

Field Value

Sets application-wide default implementation of message box

Return Value

Type currently used as default implementation of message box

Remarks

Default implementation used is MessageBox which uses WinForms technology. You can use this static poperty to change implementation of messagebox that is globaly used in your application. This property does not involve direct calls to derived classes, only calls of static methods on MessageBox.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionValue being set is null
System..::..ArgumentExceptionValue being set represents type that either does not derive from MessageBox, is abstract, is generic non-closed or hasn't parameter-less contructor.

See Also