I have a custom VisualItem (class CustomVisualItem : IconListViewVisualItem) and I want a nice image of this item while dragging.
So I wrote this in my VisualItem, but this method never get called (no message in output).
Is it a bug or my fault?
Ps: There is pretty much no docu on these to methods (GetDragHintCore and GetAsBitmap [what about the parameters?]).
So I wrote this in my VisualItem, but this method never get called (no message in output).
protected
override
Image GetDragHintCore()
{
Debug.WriteLine(
"GetDragHintCore"
);
return
GetAsBitmap(Brushes.Yellow, 2,
new
SizeF(48, 48));
}
Is it a bug or my fault?
Ps: There is pretty much no docu on these to methods (GetDragHintCore and GetAsBitmap [what about the parameters?]).