New to Telerik UI for WPF? Start a free 30-day trial

Helper class that updates the TextBox.TextProperty binding on Enter key press.

Definition

Namespace:Telerik.Windows.Controls.ColorEditor.Helpers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public static class TextBoxHelper

Inheritance: objectTextBoxHelper

Fields

Identifies the UpdateTextBindingOnKeyPress attached property.

C#
public static readonly DependencyProperty UpdateTextBindingOnKeyPressProperty

Methods

Gets the UpdateTextBindingOnKeyPress possible Value of the boolean object from attached dependency object.

C#
public static bool GetUpdateTextBindingOnKeyPress(DependencyObject obj)
Parameters:objDependencyObjectReturns:

bool

Sets the UpdateTextBindingOnKeyPress possible Value of the boolean object to attached dependency object.

C#
public static void SetUpdateTextBindingOnKeyPress(DependencyObject obj, bool value)
Parameters:objDependencyObjectvaluebool