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

    Show / Hide Table of Contents

    NavigateOptions Property

    NavigateOptions

    Gets or sets navigating options.

    Declaration
    public virtual NavigateOptions NavigateOptions { get; set; }
    Property Value
    Type Description
    NavigateOptions
    Remarks

    NavigateOptions determines how the user can navigate through the TextEditor control.

    For instance, setting MoveOnRightButton option allows moving the mouse pointer when the user clicks the right mouse button.

    Examples

    Here is how to use a NavigateOptions 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.NavigateOptions |= NavigateOptions.MoveOnRightButton | NavigateOptions.BeyondEof;
        }
    }
    

    Here is how to use a NavigateOptions 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.NavigateOptions = textEditor.NavigateOptions Or NavigateOptions.MoveOnRightButton Or NavigateOptions.BeyondEof
        End Sub
    End Class
    
    In This Article
    Back to top Copyright AlterNET Software Download PDF