0

Hi I'm new to C# and I need to find those text that is on bold/italic or undderline in my richtextbox. Any idea how?

The only thing I know is get using contains, but is there any way I can get it correctly.

richTextBox2.Text = browser.Div(Find.ByClass("GWTCKEditor-Disabled") && Find.ByIndex(2)).GetAttributeValue("outerHTML");

                if (richTextBox2.Text.Contains(@"<b>"))
                {


                    BoldUnderlineItalic = 0;
                }
Alexander Petrov
  • 13,457
  • 2
  • 20
  • 49
Gory Tinio
  • 11
  • 2

0 Answers0