Home » VB.Net

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:




Answer 2


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.




<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure