Gets or sets the window access represented by the permission object.
[Visual Basic] Public Property Window As UIPermissionWindow [C#] public UIPermissionWindow Window {get; set;} [C++] public: __property UIPermissionWindow get_Window(); public: __property void set_Window(UIPermissionWindow); [JScript] public function get Window() : UIPermissionWindow; public function set Window(UIPermissionWindow);
One of the UIPermissionWindow values
AllWindows: ability to use all windows and user input events without restriction.
SafeTopLevelWindows: ability to only use "safe" top-level windows for drawing and user input events for user interface.
SafeWindows: ability to only use safe subwindow for drawing and user input events for user interface.
NoWindows: no ability to use any windows or user interface events.
UIPermission Class | UIPermission Members | System.Security.Permissions Namespace