34 references to Clipboard
System.Windows.Forms (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21928
Clipboard
.SetDataObject(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1038
Clipboard
.SetDataObject(_selectedGridEntry.GetPropertyTextValue());
1068
IDataObject? dataObj =
Clipboard
.GetDataObject();
2933
Clipboard
.SetDataObject(entry.GetPropertyTextValue());
2960
Clipboard
.SetDataObject(entry.GetTestingInfo());
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
2728
Clipboard
.Clear();
2732
Clipboard
.SetText(text);
2872
text =
Clipboard
.GetText();
System\Windows\Forms\OLE\Clipboard.cs (13)
20
/// Places non-persistent data on the system <see cref="
Clipboard
"/>.
33
/// Places data on the system <see cref="
Clipboard
"/> and uses copy to specify whether the data
34
/// should remain on the <see cref="
Clipboard
"/> after the application exits.
56
/// Retrieves the data that is currently on the system <see cref="
Clipboard
"/>.
131
/// Retrieves an audio stream from the <see cref="
Clipboard
"/>.
136
/// Retrieves data from the <see cref="
Clipboard
"/> in the specified format.
250
/// the <see cref="IDataObject"/> on the <see cref="
Clipboard
"/> does not implement <see cref="ITypedDataObject"/>
360
/// Retrieves a collection of file names from the <see cref="
Clipboard
"/>.
375
/// Retrieves a <see cref="Bitmap"/> from the <see cref="
Clipboard
"/>.
383
/// Retrieves text data from the <see cref="
Clipboard
"/> in the <see cref="TextDataFormat.UnicodeText"/> format.
388
/// Retrieves text data from the <see cref="
Clipboard
"/> in the format indicated by the specified
417
/// Clears the <see cref="
Clipboard
"/> and then adds data in the <see cref="DataFormats.WaveAudio"/> format.
422
/// Clears the <see cref="
Clipboard
"/> and then adds data in the <see cref="DataFormats.WaveAudio"/> format.
System\Windows\Forms\OLE\DataFormats.cs (2)
9
/// Translates between WinForms text-based <see cref="
Clipboard
"/>
12
/// <see cref="
Clipboard
"/> formats and add them to the Windows Registry.
System\Windows\Forms\OLE\DataFormats.Format.cs (2)
9
/// Translates between WinForms text-based <see cref="
Clipboard
"/>
12
/// <see cref="
Clipboard
"/> formats and add them to the Windows Registry.
System\Windows\Forms\OLE\DataObject.cs (2)
66
/// <see cref="
Clipboard
.TryGetData{T}(string, out T)"/> will throw <see cref="NotSupportedException"/>
150
/// <inheritdoc cref="
Clipboard
.TryGetData{T}(string, Func{TypeName, Type}, out T)"/>
System\Windows\Forms\OLE\IDataObject.cs (1)
17
/// such as <see cref="
Clipboard
.TryGetData{T}(string, out T)"/>, will throw a <see cref="NotSupportedException"/>.
System\Windows\Forms\OLE\ITypedDataObject.cs (1)
14
/// Implement this interface to use your data object with <see cref="
Clipboard
.TryGetData{T}(string, out T)"/>
System\Windows\Forms\OLE\TextDataFormat.cs (1)
10
/// <see cref="
Clipboard
"/> and <see cref="DataObject"/> classes.
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\CommandSet.cs (4)
1410
if (!ExecuteSafely(() =>
Clipboard
.SetDataObject(dataObj), throwOnException: false))
1456
if (ExecuteSafely(() =>
Clipboard
.SetDataObject(dataObj), throwOnException: false))
1840
bool clipboardOperationSuccessful = ExecuteSafely(
Clipboard
.GetDataObject, false, out IDataObject? dataObj);
3090
bool clipboardOperationSuccessful = ExecuteSafely(
Clipboard
.GetDataObject, false, out IDataObject? dataObj);