1 write to Id
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataFormats.Format.cs (1)
28
Id
= 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;
2589
PInvokeCore.SendMessage(this, PInvokeCore.EM_PASTESPECIAL, (WPARAM)clipFormat.
Id
);
System.Windows.Forms.Tests (13)
System\Windows\Forms\ClipboardTests.cs (1)
1022
cfFormat = (short)DataFormats.GetFormat("testFormat").
Id
,
System\Windows\Forms\DataFormatsTests.ClipboardTests.cs (1)
30
Assert.Equal(id & 0xFFFF, result.
Id
);
System\Windows\Forms\DataFormatsTests.cs (5)
72
Assert.Equal(expectedId, result.
Id
);
100
Assert.True(result.
Id
>= 0xC000);
101
Assert.True(result.
Id
< 0xFFFF);
104
Assert.Same(result, DataFormats.GetFormat(result.
Id
));
157
Assert.Equal(id & 0xFFFF, result.
Id
);
System\Windows\Forms\DataObjectTests.cs (6)
2164
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat(format1).
Id
)));
2267
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format1").
Id
)));
2277
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format2").
Id
)));
2354
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat(format1).
Id
)));
2451
{ TextDataFormat.Rtf, (short)DataFormats.GetFormat(DataFormats.Rtf).
Id
},
2452
{ TextDataFormat.Html, (short)DataFormats.GetFormat(DataFormats.Html).
Id
}