Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcTextBox Class / AutoWordSelection Property


In This Topic
    AutoWordSelection Property
    In This Topic
    Gets or sets a value that determines whether when a user selects part of a word by dragging across it with the mouse, the rest of the word is selected. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property AutoWordSelection As Boolean
    'Usage
     
    Dim instance As GcTextBox
    Dim value As Boolean
     
    instance.AutoWordSelection = value
     
    value = instance.AutoWordSelection
    public bool AutoWordSelection {get; set;}

    Property Value

    true if automatic word selection is enabled; otherwise, false. The default value is false.
    Remarks

    When AutoWordSelection is enabled, each time that part of a word is selected by the user dragging over part of a word using the mouse, the selection is automatically expanded to include that entire word. The user can override automatic selection of an entire word by momentarily reversing the direction in which the mouse pointer is being dragged as the selection is made. This action undoes the automatic selection of the entire word, and enables the user to precisely select part or all of the word.

    When AutoWordSelection is disabled, a selection is not automatically expanded to include entire words; in this case, precise selections are always determined manually.

    Auto selection does not affect the first word that the user drags across. It is only after this first word boundary is crossed that auto selection takes effect.

    See Also