DialogBase.EnableModeless Property
Verifies whether a dialog box for a form is modeless.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overridable ReadOnly Property EnableModeless As Boolean
Get
protected virtual bool EnableModeless { get; }
protected:
virtual property bool EnableModeless {
bool get ();
}
abstract EnableModeless : bool
override EnableModeless : bool
function get EnableModeless () : boolean
Property Value
Type: System.Boolean
true if the dialog box is modeless; otherwise, false.
Remarks
By default, the modeless property is set to form modal.
This property is used with CreateParams, which is called before the constructor.
When a modeless dialog box is assigned to a form, a user can open another form without closing the dialog box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.