59 references to UIPermissionClipboard
mscorlib (23)
system\security\permissions\permissionattributes.cs (3)
713
private
UIPermissionClipboard
m_clipboardFlag =
UIPermissionClipboard
.NoClipboard;
727
public
UIPermissionClipboard
Clipboard {
system\security\permissions\uipermission.cs (20)
69
private
UIPermissionClipboard
m_clipboardFlag;
94
public UIPermission(UIPermissionWindow windowFlag,
UIPermissionClipboard
clipboardFlag )
110
public UIPermission(
UIPermissionClipboard
clipboardFlag )
139
public
UIPermissionClipboard
Clipboard
169
private static void VerifyClipboardFlag(
UIPermissionClipboard
flag)
171
if (flag <
UIPermissionClipboard
.NoClipboard || flag >
UIPermissionClipboard
.AllClipboard)
181
m_clipboardFlag =
UIPermissionClipboard
.NoClipboard;
189
m_clipboardFlag =
UIPermissionClipboard
.AllClipboard;
231
return m_windowFlag == UIPermissionWindow.AllWindows && m_clipboardFlag ==
UIPermissionClipboard
.AllClipboard;
245
return m_windowFlag == UIPermissionWindow.NoWindows && m_clipboardFlag ==
UIPermissionClipboard
.NoClipboard;
284
UIPermissionClipboard
isectClipboardFlags = m_clipboardFlag < operand.m_clipboardFlag ? m_clipboardFlag : operand.m_clipboardFlag;
285
if (isectWindowFlags == UIPermissionWindow.NoWindows && isectClipboardFlags ==
UIPermissionClipboard
.NoClipboard)
307
UIPermissionClipboard
isectClipboardFlags = m_clipboardFlag > operand.m_clipboardFlag ? m_clipboardFlag : operand.m_clipboardFlag;
308
if (isectWindowFlags == UIPermissionWindow.NoWindows && isectClipboardFlags ==
UIPermissionClipboard
.NoClipboard)
329
if (m_clipboardFlag !=
UIPermissionClipboard
.NoClipboard)
331
esd.AddAttribute( "Clipboard", Enum.GetName( typeof(
UIPermissionClipboard
), m_clipboardFlag ) );
351
m_clipboardFlag =
UIPermissionClipboard
.NoClipboard;
359
m_clipboardFlag = (
UIPermissionClipboard
)Enum.Parse( typeof(
UIPermissionClipboard
), clipboard );
PresentationCore (15)
Core\CSharp\System\Windows\Clipboard.cs (1)
619
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();//BlessedAssert
Core\CSharp\System\Windows\IDataObject.cs (12)
37
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
51
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
67
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
80
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
93
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
109
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
121
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
138
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
151
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
165
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
179
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
196
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard =
UIPermissionClipboard
.AllClipboard)]
Core\CSharp\System\Windows\Input\Command\ApplicationCommands.cs (1)
265
permissions.AddPermission(new UIPermission(
UIPermissionClipboard
.AllClipboard));
Shared\MS\Internal\SecurityHelper.cs (1)
658
_uiPermissionAllClipboard = new UIPermission(
UIPermissionClipboard
.AllClipboard);
PresentationFramework (14)
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
86
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();//BlessedAssert
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8347
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();
src\Framework\System\Windows\Controls\InkCanvas.cs (4)
2149
( new UIPermission(
UIPermissionClipboard
.AllClipboard) ).Assert();//BlessedAssert
2255
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();//BlessedAssert
2273
ps.AddPermission(new UIPermission(
UIPermissionClipboard
.AllClipboard));
2610
new UIPermission(
UIPermissionClipboard
.AllClipboard).Assert(); // BlessedAssert:
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
242
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();//BlessedAssert
263
ps.AddPermission(new UIPermission(
UIPermissionClipboard
.AllClipboard));
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (4)
71
new UIPermission(
UIPermissionClipboard
.AllClipboard).Assert(); //BlessedAssert
105
(new UIPermission(
UIPermissionClipboard
.AllClipboard)).Assert();//BlessedAssert
355
new UIPermission(
UIPermissionClipboard
.OwnClipboard).Demand();
426
new UIPermission(
UIPermissionClipboard
.OwnClipboard).Demand();
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
954
permissionSet.AddPermission(new UIPermission(
UIPermissionClipboard
.OwnClipboard));
988
permissionSet.AddPermission(new UIPermission(
UIPermissionClipboard
.OwnClipboard));
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Clipboard.cs (1)
109
[UIPermission(SecurityAction.Demand, Clipboard=
UIPermissionClipboard
.OwnClipboard)]
winforms\Managed\System\WinForms\Control.cs (1)
6102
[UIPermission(SecurityAction.Demand, Clipboard=
UIPermissionClipboard
.OwnClipboard)]
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
1468
[UIPermission(SecurityAction.Demand, Clipboard=
UIPermissionClipboard
.OwnClipboard)]
1586
[UIPermission(SecurityAction.Demand, Clipboard=
UIPermissionClipboard
.OwnClipboard)]
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
2568
[UIPermission(SecurityAction.Demand, Clipboard=
UIPermissionClipboard
.OwnClipboard)]
winforms\Managed\System\WinForms\WinFormsSecurity.cs (2)
145
clipboardRead = new UIPermission(
UIPermissionClipboard
.AllClipboard);
154
clipboardOwn = new UIPermission(
UIPermissionClipboard
.OwnClipboard);