Bitesized tidbits for building Modern (Metro) apps.
One of the cool things about UWP apps is the way in which they can interact with “big Windows” apps as well as other UWP apps. What do I mean by this? Well, the easy example is dragging and dropping things into your app from either another UWP, or from a regular win32 application, likes files, from Explorer.
It can be a pain to set everything up for your app to start accepting files via drag and drop, so I’ve rolled the basic behaviour into, well, a behaviour.
You can use the IsDropping property to change up elements in your UI. In my case, I wanted to highlight the BorderBrush of the attached Grid to show the user they were ok to drop the files there.