[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.2.0

Syntax

C#
public static Type DefaultImplementation { get; set; }
Visual Basic (Declaration)
Public Shared Property DefaultImplementation As Type
Visual C++
public:
static property Type^ DefaultImplementation {
	Type^ get ();
	void set (Type^ value);
}
J#
/** @property */
public static Type get_DefaultImplementation()
/** @property */
public static  void set_DefaultImplementation(Type value)
JScript
public static function get DefaultImplementation () : Type
public 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