So in winforms, you draw the shapes in the _Paint eventhandler.
In wpf, how do you set it up? Say i want my Card class with properties for color and value to be represented as a rectangle of its color and value (as a text inside the rectangle). How do you do that in wpf? If i have a list of cards to show on the canvas and i remove one in that list, do i have to use events for that as opposed to winforms where you redraw everything when something needs repainting.
by silentcon via /r/csharp