menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextSelectionSettings - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextSelectionSettings

    Specifies and allows editing the information about how text is selected.

    Inheritance
    System.Object
    TextSelectionSettings
    Namespace: Syncfusion.SfPdfViewer.XForms
    Assembly: Syncfusion.SfPdfViewer.XForms.dll
    Syntax
    public class TextSelectionSettings : Object

    Constructors

    TextSelectionSettings()

    Initializes a new instance of the TextSelectionSettings class.

    Declaration
    public TextSelectionSettings()

    Properties

    MenuOptions

    Gets the details of menu items displayed in the context menu during text selection.

    Declaration
    public TextSelectionMenu MenuOptions { get; }
    Property Value
    Type
    TextSelectionMenu

    ShowContextMenu

    Gets or sets a value indicating whether gets or sets a value that indicates whether context menu is visible.

    Declaration
    public bool ShowContextMenu { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean used to toggle the visibility of the text selection context menu. The default value is true.

    TextSelectionColor

    Gets or sets the color being used to highlight the text during selection.

    Declaration
    public Color TextSelectionColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    A color that is used to highlight the selected text. The default value is Color.FromRgba(0, 0, 205, 80)/>;.

    TextSelectionHandleColor

    Gets or sets the color of selection handle appeared during text selection.

    Declaration
    public Color TextSelectionHandleColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    A color that is used to highlight the selection handle. The default value is Color.FromRgb(0, 0, 255)/>;.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved