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)
1027
cfFormat = (short)DataFormats.GetFormat("testFormat").
Id
,
System\Windows\Forms\DataFormatsTests.ClipboardTests.cs (1)
28
Assert.Equal(id & 0xFFFF, result.
Id
);
System\Windows\Forms\DataFormatsTests.cs (5)
70
Assert.Equal(expectedId, result.
Id
);
98
Assert.True(result.
Id
>= 0xC000);
99
Assert.True(result.
Id
< 0xFFFF);
102
Assert.Same(result, DataFormats.GetFormat(result.
Id
));
155
Assert.Equal(id & 0xFFFF, result.
Id
);
System\Windows\Forms\DataObjectTests.cs (6)
2165
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat(format1).
Id
)));
2268
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format1").
Id
)));
2278
result[0].cfFormat.Should().Be(unchecked((short)(ushort)(DataFormats.GetFormat("Format2").
Id
)));
2355
result[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
}