Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi my friends!
I want create vertical Text Box in design or run time that user in run time type in it
pleas help me
Posted
Comments
aliwpf 24-Feb-13 0:34am    
What does mean "Vertical" TextBox? content vertically?
sadat_prog 24-Feb-13 0:44am    
yes content vertically
[no name] 24-Feb-13 0:35am    
Use Multiline option

1 solution

Hi.i guess you want to have a TextBox like this:
XML
<TextBox Height="150" Width="150" Background="LightGray">
           <TextBox.LayoutTransform>
               <TransformGroup>
                   <TransformGroup.Children>
                       <RotateTransform Angle="90"/>
                   </TransformGroup.Children>
               </TransformGroup>
           </TextBox.LayoutTransform>
       </TextBox>


isn't it ? if i make a mistake,please tell me.i will try to help you.
Good Luck
 
Share this answer
 
Comments
sadat_prog 24-Feb-13 2:23am    
Tanks Ali..
My Project in Windows Application but Your answer in web application.
aliwpf 24-Feb-13 2:57am    
No.It's XAML of WPF Control. WPF is Windows Application.I guess you working with Windows Form technology. not WPF. Isn't it?
sadat_prog 24-Feb-13 4:55am    
my program is'nt wpf application its winForms.I know that i could make a UserControl in WPF and use it in my winForm app but I wanted to find other way.
SO I think it would be better to use WPF UserControl.
thanks for your help...

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