Name
UIPermissionWindow
Synopsis
public enum UIPermissionWindow { NoWindows = 0,SafeSubWindows = 1,SafeTopLevelWindows = 2,AllWindows = 3 }
The UIPermissionWindow enumeration contains values
that the UIPermission class uses to represent the
type of window elements code is permitted to use.
SafeSubWindows represents the ability to use safe
subwindows such as message boxes and common dialog controls.
SafeTopLevelWindows represents permission to use
top-level windows that are considered safe because they are clearly
labeled to avoid spoofing attacks. AllWindows
represents the ability to access all windows elements.
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable,
System.IFormattable, System.IConvertible)
→
UIPermissionWindow
Returned By
UIPermission.Window,
UIPermissionAttribute.Window
Passed To
UIPermission.{UIPermission( ),
Window},
UIPermissionAttribute.Window
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access