13 references to TYMED_GDI
PresentationCore (5)
System\Windows\dataobject.cs (5)
1432
else if ( ( formatetc.tymed & TYMED.
TYMED_GDI
) != 0 )
1612
medium.tymed = TYMED.
TYMED_GDI
;
2225
TYMED.
TYMED_GDI
2283
temp.tymed = TYMED.
TYMED_GDI
;
2887
tymed = TYMED.
TYMED_GDI
;
System.Windows.Forms (2)
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
444
if ((uint)medium.tymed == (uint)TYMED.
TYMED_GDI
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (1)
50
tymed = format.Equals(DataFormats.Bitmap) ? ComTypes.TYMED.
TYMED_GDI
: ComTypes.TYMED.TYMED_HGLOBAL
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataObjectTests.cs (6)
2024
{ DataFormats.Bitmap, TYMED.
TYMED_GDI
},
2181
result[0].tymed.Should().Be(TYMED.
TYMED_GDI
);
2646
[InlineData(TYMED.
TYMED_GDI
, TYMED.
TYMED_GDI
, (short)CLIPBOARD_FORMAT.CF_UNICODETEXT)]
2647
[InlineData(TYMED.
TYMED_GDI
, TYMED.
TYMED_GDI
, (short)CLIPBOARD_FORMAT.CF_HDROP)]