Xceed Grid for WinForms v4.3 Documentation
SelectOnFocus Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > TextBoxArea Class : SelectOnFocus Property
Gets or sets a boolean value indicating if the entire content of the textbox should be selected when it gets focus.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the entire content of the textbox should be selected when it gets focus.")>

<CategoryAttribute("Behavior")>

<DefaultValueAttribute(False)>

Public Property SelectOnFocus As Boolean
'Usage
 
Dim instance As TextBoxArea

Dim value As Boolean

 

instance.SelectOnFocus = value

 

value = instance.SelectOnFocus
[Description("Indicates if the entire content of the textbox should be selected when it gets focus.")]

[Category("Behavior")]

[DefaultValue(false)]

public bool SelectOnFocus {get; set;}

Property Value

true if the entire content of the textbox should be selected when it gets focus; false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TextBoxArea Class
TextBoxArea Members