[This is preliminary documentation and is subject to change.]
Shows the dialog
Namespace: Tools.WindowsT.FormsTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected override void PerformDialog( bool Modal, Object Owner ) |
| Visual Basic |
|---|
Protected Overrides Sub PerformDialog ( _ Modal As Boolean, _ Owner As Object _ ) |
| Visual C++ |
|---|
protected: virtual void PerformDialog( bool Modal, Object^ Owner ) override |
| F# |
|---|
abstract PerformDialog : Modal:bool * Owner:Object -> unit override PerformDialog : Modal:bool * Owner:Object -> unit |
| JScript |
|---|
protected override function PerformDialog( Modal : boolean, Owner : Object ) |
Parameters
- Modal
- Type: System..::..Boolean
Indicates if dialog should be shown modally (true) or modells (false)
- Owner
- Type: System..::..Object
Parent window of dialog (may be null). This implementation recognizes values of type IWin32Window, IWin32Window, Window and DependencyObject (if hosted in Window). Unrecognized owners are treated as null.
Remarks
Note for inheritors: If you override thie method and do not call base class method, you must set value of the Form property
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | State is not Created |
See Also
Version History
1.5.3
- (Beta) Type of parameter owner changed from IWin32Window to Object to support IWin32Window, IWin32Window and Window.
- (Beta) The Owner parameter acceps DependencyObject for which GetWindow(DependencyObject) returns non-null value.