Click here to Skip to main content
15,879,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create a custom shape which returns Circle, and another returns rectangle, i don't want to use Ellipse and Rectangle class because we can't inherit them, and i've to add some properties to a circle and rect like text block, and List of lines ... ! CAN SOMEONE HELP !
Posted
Comments
[no name] 27-Apr-13 14:18pm    
Help you with what? Why are you screaming?
Abdellah GRIB 27-Apr-13 14:28pm    
Hello, sample code, or an existing project, idea?
[no name] 27-Apr-13 14:34pm    
Did you do any research at all? Search the WPF section and see if there is an article that helps you. We don't write code to order here, you are expect to at least try something yourself.

1 solution

I have done something of the sort here:
WPF-Drawing Canvas Control[^]

It is in VB though it shouldnt be hard to translate, and there are other articles here on the cite that could be used too.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900