This is a migrated thread and some comments may be shown as answers.

Remove Undelrine from Hyperlink

1 Answer 72 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 02 Dec 2010, 04:03 PM
Hi guys,

Is it possible to remove Undelrine from Hyperlink. I tired the Underline property but it is ReadOnly.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 03 Dec 2010, 06:41 PM
Hi Joseph,

The Underline property is indeed read-only. The property you need to use is the UnderlineDecoration property.
You can set it like this:

link.UnderlineDecoration = Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders.UnderlineTypes.None;
richtextbox.InsertInline(link);

If you have any other questions, do not hesitate to contact us again.

Greetings,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
RichTextBox
Asked by
Joseph
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or