Freigeben über


Something fun for the little ones [SilverlightKidsDoodler develops mouse skills!]

**

This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

SilverlightKidsDoodler.png

Comments

  • Anonymous
    October 15, 2007
    PingBack from http://www.artofbam.com/wordpress/?p=8939

  • Anonymous
    October 15, 2007
    PingBack from http://msdnrss.thecoderblogs.com/2007/10/16/something-fun-for-the-little-ones-silverlightkidsdoodler-develops-mouse-skills/

  • Anonymous
    October 16, 2007
    The comment has been removed

  • Anonymous
    October 24, 2007
    The comment has been removed

  • Anonymous
    October 24, 2007
    The comment has been removed

  • Anonymous
    October 24, 2007
    The comment has been removed

  • Anonymous
    October 24, 2007
    The comment has been removed

  • Anonymous
    October 25, 2007
    Couple of questions why did you use just a plain canvas instead of the inkpresenter element.  Or at least I don't see where you have used it yet.  Also since you can do all the drawing on a canvas, what functionality does the inkpresenter give you that you can't get with a plane canvas.  Lastly, is there a way to save the image...that would be cool. Thanks!

  • Anonymous
    October 25, 2007
    BigTundra, I went with Canvas vs. InkPresenter because my needs were very simple and I already had experience with Canvas. I've heard that InkPresenter is also very easy to use, so I probably could have used it without much difference. In general, it's my understanding that ink-supporting controls typically have more "fidelity" than normal ones because the ink ones are often used for handwriting recognition. For example, ink may sample input at a higher rate, respond to input pressure, or detect common gestures. All cool things, of course, but none of which were directly relevant to my application. :) Regarding the desire to save the image, I considered it, but Silverlight's security model doesn't allow you to write to arbitrary files on disk, so it wasn't immediately clear where to save the image. (There's IsolatedStorage, but that wouldn't give me an image file I could copy around and view in Windows.) For now, the preferred method of saving the image is: Print Screen, open "real" Paint, Paste, Save. :)

  • Anonymous
    December 11, 2007
    The link above appears to be no good.  It takes me to a Silverlight Alpha download page.  Is there a more recent link?

  • Anonymous
    December 11, 2007
    EvanBasalik, The link works fine for me. The app requires Silverlight 1.1 Alpha, so if it's not already installed on your machine, then it's correct to be pointed to the install location. Hope this helps!

  • Anonymous
    July 21, 2008
    (以下内容全部整理自博客堂Scottgu博客中文版)Silverlight技巧,诀窍,教程和链接 【原文地址】SilverlightTips,Tricks,...

  • Anonymous
    April 02, 2009
    Do you have an updated version?

  • Anonymous
    April 03, 2009
    The comment has been removed

  • Anonymous
    November 28, 2010
    Hi,  Article is nice.My requirement is alo same but i put some images like cirle,rectangle beside inkpresenter,when i click/drag cirle that circle will be placed on inkpresenter.i wan the application like microsoft paint apllication please help me.

  • Anonymous
    November 29, 2010
    tanvi, You'd need to write a bit of code to add that kind of behavior to my simple sample. The good news is that it's not too difficult and would be a great way to become more familiar with Silverlight! :) You'll probably want to handle the MouseLeftButtonDown/Up/Move events for mouse tracking and use the Rectangle/Ellipse Shape classes for drawing the actual shapes. Once you've got that, adding brush thickness should be pretty easy, too!