Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adorner on other types of control #121

Closed
JobaDiniz opened this issue Jan 15, 2015 · 2 comments
Closed

Adorner on other types of control #121

JobaDiniz opened this issue Jan 15, 2015 · 2 comments

Comments

@JobaDiniz
Copy link

Hi, awesome project.
I'm using to drop files onto a UserControl, which is inside a Window. However, there are 2 issues for me:

  1. When you drag a file into a place that can be dropped, the default behavior of most applications is to show the file icon. When I drag a file using this library, the file icon does not show.
  2. The adorner is not shown. It seems there isn't adorners for Window, TextBox or UserControls. I'd like to show some fancy clue to user that the drop can be done.
@punker76
Copy link
Owner

@JobaDiniz Yes there is no default for this and I will not add this. But it's possible with the current set of interfaces and properties. Take a look at the sample. The issue #85 demonstrates this for a TextBox. Hope this is ok for you. thx

image

@JobaDiniz
Copy link
Author

JobaDiniz commented Jan 18, 2017

Sorry, I did not quite understand.
Regarding issue 1, is there something that I can do? Some api that I can plug into in order to show the file icon? (I already have a code to create an image given the file extension).

About issue 2, if I understood right, I should create a class that inherits from DropTargetAdorner, is that it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants