Volume Control
Application-specific hotkeys for Windows
|
Forces the TextBox.Text property's data binding to update its source when the Enter key is pressed or released. More...
Public Types | |
enum class | EKeyEvent { KeyUp , KeyDown } |
Defines the key press events that the TextBoxEnterUpdatesTextSourceBehavior can attach to. More... | |
Static Public Attributes | |
static readonly DependencyProperty | OnKeyEventProperty |
The DependencyProperty for OnKeyEvent. More... | |
Protected Member Functions | |
override void | OnAttached () |
override void | OnDetaching () |
Properties | |
EKeyEvent | OnKeyEvent [get, set] |
Gets or sets whether to update the Text binding's source when the Enter key is pressed or when it is released. More... | |
Forces the TextBox.Text property's data binding to update its source when the Enter key is pressed or released.
Defines the key press events that the TextBoxEnterUpdatesTextSourceBehavior can attach to.
Enumerator | |
---|---|
KeyUp | The Text databinding is updated when the Enter key is released. |
KeyDown | The Text databinding is updated when the Enter key is pressed. |
|
static |
The DependencyProperty for OnKeyEvent.
|
getset |
Gets or sets whether to update the Text binding's source when the Enter key is pressed or when it is released.
Referenced by VolumeControl.WPF.Behaviors.TextBoxEnterUpdatesTextSourceBehavior.OnAttached(), and VolumeControl.WPF.Behaviors.TextBoxEnterUpdatesTextSourceBehavior.OnDetaching().