1 write to Id
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataFormats.Format.cs (1)
28Id = id;
15 references to Id
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1607=> PInvokeCore.SendMessage(this, PInvokeCore.EM_CANPASTE, (WPARAM)clipFormat.Id) != 0; 2589PInvokeCore.SendMessage(this, PInvokeCore.EM_PASTESPECIAL, (WPARAM)clipFormat.Id);
System.Windows.Forms.Tests (13)
System\Windows\Forms\ClipboardTests.cs (1)
1027cfFormat = (short)DataFormats.GetFormat("testFormat").Id,
System\Windows\Forms\DataFormatsTests.ClipboardTests.cs (1)
28Assert.Equal(id & 0xFFFF, result.Id);
System\Windows\Forms\DataFormatsTests.cs (5)
70Assert.Equal(expectedId, result.Id); 98Assert.True(result.Id >= 0xC000); 99Assert.True(result.Id < 0xFFFF); 102Assert.Same(result, DataFormats.GetFormat(result.Id)); 155Assert.Equal(id & 0xFFFF, result.Id);
System\Windows\Forms\DataObjectTests.cs (6)
2165result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat(format1).Id))); 2268result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format1").Id))); 2278result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format2").Id))); 2355result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat(format1).Id))); 2452{ TextDataFormat.Rtf, (short)DataFormats.GetFormat(DataFormats.Rtf).Id }, 2453{ TextDataFormat.Html, (short)DataFormats.GetFormat(DataFormats.Html).Id }