77 references to Clipboard
Microsoft.VisualBasic.Forms (43)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (43)
15
''' A class that wraps <see cref="
Clipboard
"/> so that
28
''' Removes everything from the <see cref="
Clipboard
"/>.
31
Clipboard
.Clear()
35
''' Indicates whether or not there's an audio stream saved to the <see cref="
Clipboard
"/>.
39
Return
Clipboard
.ContainsAudio()
43
''' Indicates whether or not there is data on the <see cref="
Clipboard
"/> in the passed in format.
49
Return
Clipboard
.ContainsData(format)
57
Return
Clipboard
.ContainsFileDropList()
61
''' Indicate whether or not an image has been saved to the <see cref="
Clipboard
"/>.
65
Return
Clipboard
.ContainsImage()
69
''' Indicates whether or not text is available on the <see cref="
Clipboard
"/>.
73
Return
Clipboard
.ContainsText
77
''' Indicates whether or not text is available on the <see cref="
Clipboard
"/> in
83
Return
Clipboard
.ContainsText(format)
87
''' Gets an audio stream from the <see cref="
Clipboard
"/>.
91
Return
Clipboard
.GetAudioStream()
95
''' Gets data from the <see cref="
Clipboard
"/> that's been saved in the passed in format.
106
Return
Clipboard
.GetData(format)
117
Return
Clipboard
.GetDataObject()
125
Return
Clipboard
.GetFileDropList()
129
''' Retrieves an <see cref="Image"/> from the <see cref="
Clipboard
"/>.
133
Return
Clipboard
.GetImage()
137
''' Gets text from the <see cref="
Clipboard
"/>.
141
Return
Clipboard
.GetText()
150
Return
Clipboard
.GetText(format)
154
''' Saves the passed in audio byte array to the <see cref="
Clipboard
"/>.
158
Clipboard
.SetAudio(audioBytes)
162
''' Saves the passed in audio stream to the <see cref="
Clipboard
"/>.
166
Clipboard
.SetAudio(audioStream)
170
''' Saves the passed in data to the <see cref="
Clipboard
"/> in the passed in format.
175
Clipboard
.SetData(format, data)
185
Clipboard
.SetDataObject(data)
189
''' Saves the passed in file drop list to the <see cref="
Clipboard
"/>.
193
Clipboard
.SetFileDropList(filePaths)
196
''' <inheritdoc cref="
Clipboard
.TryGetData(Of T)(String, Func(Of TypeName, Type), ByRef T)" />
198
Return
Clipboard
.TryGetData(format, resolver, data)
201
''' <inheritdoc cref="
Clipboard
.TryGetData(Of T)(String, ByRef T)" />
203
Return
Clipboard
.TryGetData(format, data)
211
Clipboard
.SetImage(image)
214
''' <inheritdoc cref="
Clipboard
.SetDataAsJson(Of T)(String, T)"/>
216
Clipboard
.SetDataAsJson(format, data)
224
Clipboard
.SetText(text)
233
Clipboard
.SetText(text, format)
System.Windows.Forms (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21863
Clipboard
.SetDataObject(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1038
Clipboard
.SetDataObject(_selectedGridEntry.GetPropertyTextValue());
1068
IDataObject? dataObj =
Clipboard
.GetDataObject();
2927
Clipboard
.SetDataObject(entry.GetPropertyTextValue());
2954
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
415
/// Clears the <see cref="
Clipboard
"/> and then adds data in the <see cref="DataFormats.WaveAudio"/> format.
420
/// 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);