custom command on a System.Windows.Shapes.Ellipse

Topics: Prism v4 - Silverlight 4
Nov 17, 2010 at 9:48 AM


i'm fairly new to Prism and silverlight, and so I'm wondering if it is possible to write a custom command for a System.Windows.Shapes.Ellipse in silverlight?



Nov 17, 2010 at 2:07 PM


Silverlight 4 includes commanding support for ButtonBase classes, but the Ellipse class does not derives from ButtonBase.

That said, Prism provides you guidance for extending commad support , so you could use this as a reference. For more information you could take a look at the following links:

Hope this helps.

Fernando Antivero