Search Results

Search found 1 results on 1 pages for 'robbskinizer'.

Page 1/1 | 1 

  • WPF DrawingVisual from my own class

    - by Robbskinizer
    Hi, Im trying to create my own class which contains a DrawingVisual, something like this public class MyObject { public DrawingVisual visual; public bool faceup; public bool flipped; } I have a drag and drop from a listview to a canvas, but when I try to get the object which back from the Canvas i only get the visual, not any of the other stuff in the class. How do i save "objects" and retreive it from a canvas? Im using my own MyCanvas which inheritance from Canvas, and using the AddVisualChild & AddLogicalChild etc. // Robbin

    Read the article

1