3 instantiations of Format
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataFormats.Format.cs (1)
35static Format IDataFormat<Format>.Create(string name, int id) => new(name, id);
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataFormatsTests.cs (1)
164var format = new DataFormats.Format(name, id);
System\Windows\Forms\RichTextBoxTests.cs (1)
7842yield return new object[] { new DataFormats.Format("UnknownName", int.MaxValue), false };
23 references to Format
System.Windows.Forms (15)
GlobalUsings.cs (4)
15System.Windows.Forms.DataFormats.Format>; 17System.Windows.Forms.DataFormats.Format>; 20System.Windows.Forms.DataFormats.Format, 25System.Windows.Forms.DataFormats.Format>;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1606public bool CanPaste(DataFormats.Format clipFormat) 2587public void Paste(DataFormats.Format clipFormat)
System\Windows\Forms\OLE\DataFormats.cs (4)
124/// Gets a <see cref="Format"/> with the Windows Clipboard numeric ID and name for the specified format. 126public static Format GetFormat(string format) 133/// Gets a <see cref="Format"/> with the Windows Clipboard numeric ID and name for the specified ID. 135public static Format GetFormat(int id) => DataFormatsCore.GetOrAddFormat(id);
System\Windows\Forms\OLE\DataFormats.Format.cs (4)
19public class Format : IDataFormat<Format> 22/// Initializes a new instance of the <see cref="Format"/> class and 35static Format IDataFormat<Format>.Create(string name, int id) => new(name, id);
System\Windows\Forms\WinFormsRuntime.cs (1)
12internal class WinFormsRuntime : Runtime<DataFormats.Format, WinFormsNrbfSerializer, WinFormsOleServices>
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataFormatsTests.ClipboardTests.cs (1)
25DataFormats.Format result = DataFormats.GetFormat(id);
System\Windows\Forms\DataFormatsTests.cs (4)
67DataFormats.Format result = DataFormats.GetFormat(format); 90DataFormats.Format result = DataFormats.GetFormat(format); 152DataFormats.Format result = DataFormats.GetFormat(id); 164var format = new DataFormats.Format(name, id);
System\Windows\Forms\DragDropHelperTests.cs (1)
14System.Windows.Forms.DataFormats.Format>;
System\Windows\Forms\RichTextBoxTests.cs (2)
7847public void RichTextBox_CanPaste_Invoke_ReturnsExpected(DataFormats.Format format, bool expected) 7856public void RichTextBox_CanPaste_InvokeWithHandle_ReturnsExpected(DataFormats.Format format, bool expected)