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"/>. 31Clipboard.Clear() 35''' Indicates whether or not there's an audio stream saved to the <see cref="Clipboard"/>. 39Return Clipboard.ContainsAudio() 43''' Indicates whether or not there is data on the <see cref="Clipboard"/> in the passed in format. 49Return Clipboard.ContainsData(format) 57Return Clipboard.ContainsFileDropList() 61''' Indicate whether or not an image has been saved to the <see cref="Clipboard"/>. 65Return Clipboard.ContainsImage() 69''' Indicates whether or not text is available on the <see cref="Clipboard"/>. 73Return Clipboard.ContainsText 77''' Indicates whether or not text is available on the <see cref="Clipboard"/> in 83Return Clipboard.ContainsText(format) 87''' Gets an audio stream from the <see cref="Clipboard"/>. 91Return Clipboard.GetAudioStream() 95''' Gets data from the <see cref="Clipboard"/> that's been saved in the passed in format. 106Return Clipboard.GetData(format) 117Return Clipboard.GetDataObject() 125Return Clipboard.GetFileDropList() 129''' Retrieves an <see cref="Image"/> from the <see cref="Clipboard"/>. 133Return Clipboard.GetImage() 137''' Gets text from the <see cref="Clipboard"/>. 141Return Clipboard.GetText() 150Return Clipboard.GetText(format) 154''' Saves the passed in audio byte array to the <see cref="Clipboard"/>. 158Clipboard.SetAudio(audioBytes) 162''' Saves the passed in audio stream to the <see cref="Clipboard"/>. 166Clipboard.SetAudio(audioStream) 170''' Saves the passed in data to the <see cref="Clipboard"/> in the passed in format. 175Clipboard.SetData(format, data) 185Clipboard.SetDataObject(data) 189''' Saves the passed in file drop list to the <see cref="Clipboard"/>. 193Clipboard.SetFileDropList(filePaths) 196''' <inheritdoc cref="Clipboard.TryGetData(Of T)(String, Func(Of TypeName, Type), ByRef T)" /> 198Return Clipboard.TryGetData(format, resolver, data) 201''' <inheritdoc cref="Clipboard.TryGetData(Of T)(String, ByRef T)" /> 203Return Clipboard.TryGetData(format, data) 211Clipboard.SetImage(image) 214''' <inheritdoc cref="Clipboard.SetDataAsJson(Of T)(String, T)"/> 216Clipboard.SetDataAsJson(format, data) 224Clipboard.SetText(text) 233Clipboard.SetText(text, format)
System.Windows.Forms (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21863Clipboard.SetDataObject(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1038Clipboard.SetDataObject(_selectedGridEntry.GetPropertyTextValue()); 1068IDataObject? dataObj = Clipboard.GetDataObject(); 2927Clipboard.SetDataObject(entry.GetPropertyTextValue()); 2954Clipboard.SetDataObject(entry.GetTestingInfo());
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
2728Clipboard.Clear(); 2732Clipboard.SetText(text); 2872text = 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)
1410if (!ExecuteSafely(() => Clipboard.SetDataObject(dataObj), throwOnException: false)) 1456if (ExecuteSafely(() => Clipboard.SetDataObject(dataObj), throwOnException: false)) 1840bool clipboardOperationSuccessful = ExecuteSafely(Clipboard.GetDataObject, false, out IDataObject? dataObj); 3090bool clipboardOperationSuccessful = ExecuteSafely(Clipboard.GetDataObject, false, out IDataObject? dataObj);