System.Windows.Forms.Form.IsRestrictedWindow Property

Gets a value indicating whether the form can use all windows and user input events without restriction.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(false)]
public bool IsRestrictedWindow { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Form.IsRestrictedWindow property determines whether the System.Security.Permissions.UIPermissionWindow.AllWindows permission is granted. This property is set at run time in the form's constructor, and is cached for the lifetime of the form. Windows Forms applications running in partial trust cannot circumvent this check, as the common language runtime ensures that the parent constructor is always called in partial trust.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0