Hello,
this code underlines all Text in the Textbox, can I underline only specific Text?
Brush brush = Brushes.Blue;
Pen pen = new Pen(brush,2);
TextBox tb1 = new TextBox();
tb1.AcceptsReturn = true;
tb1.Text = "This is a very long Text not?";
TextDecoration te...
Is there a way to apply an underline text decoration to one character only in a TextBlock (or any amount less than the full block)?
I have some text that I want output as "this worf is misspelt" and have the f in worf underlined.
I know you can do:
TextBlock47.TextDecorations = TextDecorations.Underline;
but I don't want the entire ...
Hi,
Whenever letter-spacing is applied to something with an underline or a bottom border, it seems like the underline extends beyond the text on the right. Is there any way to do prevent the underline from extending beyond the last letter in the text?
For example:
<span style="letter-spacing: 1em; border-bottom: 1px solid black;">Test<...
Hi. Im having problems with the visual studio 2010 editor. Since today, visual studio wont underline errors anymore if i use #define like so:
#ifndef TEST_H
#define TEST_H
class foo{
blabla
}
#endif
If i remove the defining commands, the errors show up.
The wierd thing is, i have other files in my project with the exact same setup an...