• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    HighlightReferences Property

    HighlightReferences

    Specifies that edit control should highlight find references.

    Declaration
    public virtual bool HighlightReferences { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Setting HighlightReferences property to the true enables the TextEditor control to highlight all occurrences of the symbol under the caret, like a local variable, parameter, property, or field.

    Examples

    Here is how to use a HighlightReferences in the C# code:

    public partial class MainWindow : Window
    {
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var textEditor = new Alternet.Editor.Wpf.TextEditor();
            textEditor.HighlightReferences = true;
        }
    }
    

    Here is how to use a HighlightReferences in the Visual Basic code:

    Partial Public Class MainWindow
    
        Private Sub Window_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
            Dim textEditor = New Alternet.Editor.Wpf.TextEditor()
            textEditor.HighlightReferences = True
        End Sub
    End Class
    
    In This Article
    Back to top Copyright AlterNET Software Download PDF