Home » VB.NetRSS

Underline text in variable.

Making a WPF app...

I have text going to a textbox.

txtOutPut.AppendText("blah blah " & variA & " blah blah " & variB & " blah blah")

Is it possible to underline/bold/italic the output of "variA" and "variB" with out effecting the rest of the text?

If I need to switch to a another control to perform this, please let me know and how to format the variables. Thank you.

 

 

2 Answers Found

 

Answer 1

I would post your question to the WPF forum, or perhaps a moderator can move the question there:

http://social.msdn.microsoft.com/Forums/en/wpf/threads

 

 

Answer 2

WhiteMirc

It is not so important if it is WPF or WFP both hold the RichTextBox which is typical for rich text variations in the contents.

http://msdn.microsoft.com/en-us/library/system.windows.controls.richtextbox.aspx

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter