I am brand new in the world of Wpf, and am thinking it's time to get into it for my next project.
I'm a hardcore Winforms guy. Many of my projects perform tons of custom drawing - for example drawing a virtual baseball strike zone and then drawing icons to represent pitches thrown by a pitcher or seen by a batter. The pitches are interactive - the user can select one or multiple pitches (click, shift-click, rectangle drag) and then play video of the selected pitches.
I also have applications where I draw custom objects and then allow the user to drag them around and place them on a blank canvas.
I am trying to learn how one would do these types of things in the Wpf world. I got my first "hello world" graphic program working today, where I overrode ArrangeOverride and drew some lines on a blank window. But I've been reading about UIElement classes and Adorners and want to make sure I'm doing things "the right way". Should all my pitches be their own UIElements, for example?
I'm wondering if someone can guide me to some sample code or a book or article to get me started. If I could see "the right way" to create a custom drawn object (of any complexity, a simple rectangle would be fine), have the user select it (highlighting it somehow to show that it's selected) and then have the user drag it around the Wpf window, I would be well on my way.