Files
Dec2017-Script-Dump/mscorlib/System/Security/Permissions/UIPermissionWindow.cs
T
2026-06-04 11:42:34 +02:00

26 lines
1.4 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Security.Permissions
{
/// <summary>Specifies the type of windows that code is allowed to use.</summary>
// Token: 0x02000574 RID: 1396
[ComVisible(true)]
[Serializable]
public enum UIPermissionWindow
{
/// <summary>Users cannot use any windows or user interface events. No user interface can be used.</summary>
// Token: 0x040014F7 RID: 5367
NoWindows,
/// <summary>Users can only use <see cref="F:System.Security.Permissions.UIPermissionWindow.SafeSubWindows" /> for drawing, and can only use user input events for user interface within that subwindow. Examples of <see cref="F:System.Security.Permissions.UIPermissionWindow.SafeSubWindows" /> are a <see cref="T:System.Windows.Forms.MessageBox" />, common dialog controls, and a control displayed within a browser.</summary>
// Token: 0x040014F8 RID: 5368
SafeSubWindows,
/// <summary>Users can only use <see cref="F:System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows" /> and <see cref="F:System.Security.Permissions.UIPermissionWindow.SafeSubWindows" /> for drawing, and can only use user input events for the user interface within those top-level windows and subwindows. </summary>
// Token: 0x040014F9 RID: 5369
SafeTopLevelWindows,
/// <summary>Users can use all windows and user input events without restriction.</summary>
// Token: 0x040014FA RID: 5370
AllWindows
}
}