Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody:)

Is there any idea about this problem that make curve or arc and wave an object like a textbox control in wpf.

Thanks in advance.
Posted

I would try:

Text On A Path in WPF[^]

or

http://social.msdn.microsoft.com/forums/en-US/wpf/thread/81be917b-4c56-4006-8973-2e1d7c390ff5/[^]

But if these are no good then I dont think you can "Bend" a textbox in the manner you want. I could be wrong and would love to know how!!! :)
 
Share this answer
 
v2
Comments
hzawary 7-Jun-12 17:22pm    
Very thanks for your answer, I know about bending text, but I want interactive with text box in run time like writing, copy, paste and etc act. any idea?
db7uk 7-Jun-12 17:33pm    
mmmm thought you would say that. Unfortunately I do not. The only thing I can think of is to have say a popup or editor region that could show / hide. When the user wants to edit / paste the text, the text in the text box is bound to a text block that is bent around a path. Sorry for no other solution.
hzawary 7-Jun-12 17:47pm    
Thanks again:) good idea and my 4, But no find out what I want!
db7uk 7-Jun-12 17:49pm    
Thanks. I would love to know how this is possible so am watching for others to comment. Thanks again.
Here is a better site for putting text on a bezier line: http://www.planetclegg.com/projects/WarpingTextToSplines.html[^]
 
Share this answer
 
Comments
hzawary 7-Jun-12 18:34pm    
Thank you, but it is very theoretically solution! and I want a textbox that bend on a path only;)
Clifford Nelson 7-Jun-12 19:06pm    
I know. I am actually surprised that I cannot find anything better. I beleive you can make a brush out of pretty much anything, and then paint it on a surface, but then being able to interact with it is another problem. Too bad Microsoft has so reduced its support of WPF/Silverlight.
hzawary 8-Jun-12 7:54am    
"Microsoft has so reduced its support of WPF/Silverlight" You said something alarming about this technology. Whether this prediction is true that it may be old and we have to change the technology? What are your advice to use in the future instead WPF/Silverlight?

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