I have implemented a custom TreeListView
for .NET and I want to add Ctrl+X / Ctrl+V
functionality.
I want that when the user cuts a node, the node image is rendered softer than usually, as the windows explorer does:
Someone could explain how to do it with a System.Drawing.Image
in C#? I use Graphics.DrawImage
to draw images, so I need a function to transform the icon.
Is there any built-in algorithm to do it? Any example?
You could draw a white rectangle on top that is partially transparent. Easier than re-calculating all the pixels.