-
Apr 19th, 2013, 05:37 AM
#1
Thread Starter
Addicted Member
vertical alignment of text box or richtext box
In text box or richtext box vertical alignment possible? If possible how to do it?
-
Apr 19th, 2013, 05:59 AM
#2
Re: vertical alignment of text box or richtext box
I don't know exactly what you mean but the answer is almost certainly no because the vertical spacing of text is controlled by the font.
-
Apr 22nd, 2013, 06:41 AM
#3
Thread Starter
Addicted Member
Re: vertical alignment of text box or richtext box
I want the text in the textbox or richtext box to have verical alignment set as required. I saw this link which shows using of VerticalContentAlignment. Can i use this to get vetical alignment in vb.net projects?
-
Apr 22nd, 2013, 06:48 AM
#4
Re: vertical alignment of text box or richtext box
That link is about WPF, not Windows Forms. Even in WPF I doubt that you can affect the vertical alignment of a RichTextBox because, while I could be wrong, I believe that the WPF RichTextBox is still just a wrapper for the old Win32 control that's also wrapped by the WinForms RTB. The WPF TextBox may well be a different story but I've never looked into it to know.
-
Apr 22nd, 2013, 06:52 AM
#5
Thread Starter
Addicted Member
Re: vertical alignment of text box or richtext box
Yes.It was WPF application. But I was thinking like can I use same in Windows Forms applications
-
Apr 22nd, 2013, 07:05 AM
#6
Re: vertical alignment of text box or richtext box
I guess that if you wish hard enough then WinForms controls might magically grow a VerticalContentAlignment property.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|