Class TextBoxBehavior
TextBoxBehavior.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class TextBoxBehavior : Object
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.
|
SelectAllOnGotFocusProperty
Represents the SelectAllOnGotFocus attached property.
Declaration
public static readonly DependencyProperty SelectAllOnGotFocusProperty
Field Value
System.
|
SelectAllOnTripleClickProperty
Represents the SelectAllOnTripleClick attached property.
Declaration
public static readonly DependencyProperty SelectAllOnTripleClickProperty
Field Value
System.
|
UpdateTextOnEnterProperty
Represents the UpdateTextOnEnter attached property.
Declaration
public static readonly DependencyProperty UpdateTextOnEnterProperty
Field Value
System.
|
UpdateTextOnTextChangedProperty
Represents the UpdateTextOnTextChanged attached property.
Declaration
public static readonly DependencyProperty UpdateTextOnTextChangedProperty
Field Value
System.
|
Methods
GetDelayUpdateTextOnTextChanged(TextBox)
Gets the DelayUpdateTextOnTextChanged property.
Declaration
public static Nullable<int> GetDelayUpdateTextOnTextChanged(TextBox textBox)
Parameters
System.
|
Returns
System.
|
GetSelectAllOnGotFocus(TextBox)
Gets the whether SelectAll should be called when focus is got.
Declaration
public static bool GetSelectAllOnGotFocus(TextBox textBox)
Parameters
System. The text box. |
Returns
System.
|
GetSelectAllOnTripleClick(TextBox)
Gets the whether SelectAll should be called when mouse is triple clicked.
Declaration
public static bool GetSelectAllOnTripleClick(TextBox textBox)
Parameters
System. The text box. |
Returns
System.
|
GetUpdateTextOnEnter(TextBox)
Gets the whether text should be updated on enter.
Declaration
public static bool GetUpdateTextOnEnter(TextBox textBox)
Parameters
System. The text box. |
Returns
System.
|
GetUpdateTextOnTextChanged(TextBox)
Gets the whether text should be updated on each text change.
Declaration
public static bool GetUpdateTextOnTextChanged(TextBox textBox)
Parameters
System. The text box. |
Returns
System.
|
SetDelayUpdateTextOnTextChanged(TextBox, Nullable<Int32>)
Sets the DelayUpdateTextOnTextChanged property.
Declaration
public static void SetDelayUpdateTextOnTextChanged(TextBox textBox, Nullable<int> value)
Parameters
System.
|
System.
|
SetSelectAllOnGotFocus(TextBox, Boolean)
Sets whether SelectAll should be called when focus is got.
Declaration
public static void SetSelectAllOnGotFocus(TextBox textBox, bool value)
Parameters
System. The text box. |
System. 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. The text box. |
System. 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. The text box. |
System. 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. The text box. |
System. If set to |