Excuse me RichTextBox after custom links in the default font color became blue and underlined, how to remove the underline can change the color of the hyperlinks
CodePudding user response:
Waiting for! Online etc.!CodePudding user response:
Use the Rtf properties should be able to controlCodePudding user response:
Thank you very much for your resume I'll give it a tryCodePudding user response:
Rtf properties can only choose yao can be achieved by writing code?
Richtextboxshree=new richtextboxshree ();
Richtextboxshree. Size=new Size (500300);
This. Controls. The Add (richtextboxshree);
CSetLineSpace. SetLineSpace (richtextboxshree, 400);
Richtextboxshree. Text="sedfasdfasd sa \ n denier mage third-party \ n [";
Richtextboxshree. InsertLink (" baidu, "richtextboxshree. Text. Length);
Richtextboxshree. LinkClicked +=richtextLick;
Richtextboxshree. AppendText ("] fwqa embassy sadfgs each place first is justice is the justice of marat safin tell whether to tell the other local company operator; Stephen o leave home ah. Slovakia is ");
Richtextboxshree. AppendTextColorful (" ha ha ha ha, "Color. Red);
Richtextboxshree. ReadOnly=true;
One of the baidu is hyperlinks can click but how to remove the underline and change the color of the blue words?

CodePudding user response: