Export (0) Print
Expand All

TextBoxBase.AutoWordSelection Property

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.

Namespace: System.Windows.Controls.Primitives
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public bool AutoWordSelection { get; set; }
/** @property */
public boolean get_AutoWordSelection ()

/** @property */
public void set_AutoWordSelection (boolean value)

public function get AutoWordSelection () : boolean

public function set AutoWordSelection (value : boolean)

<object AutoWordSelection="bool" .../>

Property Value

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

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.

Note: 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft