File tree Expand file tree Collapse file tree
ICSharpCode.AvalonEdit/Rendering Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -601,12 +601,16 @@ public Brush LinkTextBackgroundBrush {
601601 /// LinkTextUnderlinedBrush dependency property.
602602 /// </summary>
603603 public static readonly DependencyProperty LinkTextUnderlineProperty =
604- DependencyProperty . Register ( "LinkTextUnderlinedBrush " , typeof ( bool ) , typeof ( TextView ) ,
604+ DependencyProperty . Register ( "LinkTextUnderline " , typeof ( bool ) , typeof ( TextView ) ,
605605 new FrameworkPropertyMetadata ( true ) ) ;
606606
607607 /// <summary>
608608 /// Gets/sets whether to underline link texts.
609609 /// </summary>
610+ /// <remarks>
611+ /// Note that when setting this property to false, link text remains clickable and the LinkTextForegroundBrush (if any) is still applied.
612+ /// Set TextEditorOptions.EnableHyperlinks and EnableEmailHyperlinks to false to disable links completely.
613+ /// </remarks>
610614 public bool LinkTextUnderline
611615 {
612616 get { return ( bool ) GetValue ( LinkTextUnderlineProperty ) ; }
You can’t perform that action at this time.
0 commit comments