Class TextBoxBehavior
TextBoxBehavior.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class TextBoxBehavior
Constructors
TextBoxBehavior()
Declaration
public TextBoxBehavior()
Fields
DelayUpdateTextOnTextChangedProperty
Provides the behavior of updating a TextBox's TextProperty after a given delay (in milliseconds).
Declaration
public static readonly DependencyProperty DelayUpdateTextOnTextChangedProperty
Field Value
System.Windows.DependencyProperty
|
SelectAllOnGotFocusProperty
Represents the SelectAllOnGotFocus attached property.
Declaration
public static readonly DependencyProperty SelectAllOnGotFocusProperty
Field Value
System.Windows.DependencyProperty
|
SelectAllOnTripleClickProperty
Represents the SelectAllOnTripleClick attached property.
Declaration
public static readonly DependencyProperty SelectAllOnTripleClickProperty
Field Value
System.Windows.DependencyProperty
|
UpdateTextOnEnterProperty
Represents the UpdateTextOnEnter attached property.
Declaration
public static readonly DependencyProperty UpdateTextOnEnterProperty
Field Value
System.Windows.DependencyProperty
|
UpdateTextOnTextChangedProperty
Represents the UpdateTextOnTextChanged attached property.
Declaration
public static readonly DependencyProperty UpdateTextOnTextChangedProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetDelayUpdateTextOnTextChanged(TextBox)
Gets the DelayUpdateTextOnTextChanged property.
Declaration
public static int? GetDelayUpdateTextOnTextChanged(TextBox textBox)
Parameters
System.Windows.Controls.TextBox
textBox
|
Returns
System.Nullable<System.Int32>
|
GetSelectAllOnGotFocus(TextBox)
Gets the whether SelectAll should be called when focus is got.
Declaration
public static bool GetSelectAllOnGotFocus(TextBox textBox)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
Returns
System.Boolean
|
GetSelectAllOnTripleClick(TextBox)
Gets the whether SelectAll should be called when mouse is triple clicked.
Declaration
public static bool GetSelectAllOnTripleClick(TextBox textBox)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
Returns
System.Boolean
|
GetUpdateTextOnEnter(TextBox)
Gets the whether text should be updated on enter.
Declaration
public static bool GetUpdateTextOnEnter(TextBox textBox)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
Returns
System.Boolean
|
GetUpdateTextOnTextChanged(TextBox)
Gets the whether text should be updated on each text change.
Declaration
public static bool GetUpdateTextOnTextChanged(TextBox textBox)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
Returns
System.Boolean
|
SetDelayUpdateTextOnTextChanged(TextBox, Nullable<Int32>)
Sets the DelayUpdateTextOnTextChanged property.
Declaration
public static void SetDelayUpdateTextOnTextChanged(TextBox textBox, int? value)
Parameters
System.Windows.Controls.TextBox
textBox
|
System.Nullable<System.Int32>
value
|
SetSelectAllOnGotFocus(TextBox, Boolean)
Sets whether SelectAll should be called when focus is got.
Declaration
public static void SetSelectAllOnGotFocus(TextBox textBox, bool value)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
System.Boolean
value
If set to |
SetSelectAllOnTripleClick(TextBox, Boolean)
Sets whether SelectAll should be called when mouse is triple clicked.
Declaration
public static void SetSelectAllOnTripleClick(TextBox textBox, bool value)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
System.Boolean
value
If set to |
SetUpdateTextOnEnter(TextBox, Boolean)
Sets whether text should be updated on enter.
Declaration
public static void SetUpdateTextOnEnter(TextBox textBox, bool value)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
System.Boolean
value
If set to |
SetUpdateTextOnTextChanged(TextBox, Boolean)
Sets whether text should be updated on each text change.
Declaration
public static void SetUpdateTextOnTextChanged(TextBox textBox, bool value)
Parameters
System.Windows.Controls.TextBox
textBox
The text box. |
System.Boolean
value
If set to |