KeyDownTriggerBehavior Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This behavior listens to a key down event on the associated Windows.UI.Xaml.UIElement when it is loaded and executes an action.
[Microsoft.Xaml.Interactivity.TypeConstraint(typeof(Windows.UI.Xaml.FrameworkElement))]
public class KeyDownTriggerBehavior : Microsoft.Xaml.Interactivity.Trigger<Windows.UI.Xaml.FrameworkElement>
[<Microsoft.Xaml.Interactivity.TypeConstraint(typeof(Windows.UI.Xaml.FrameworkElement))>]
type KeyDownTriggerBehavior = class
inherit Trigger<FrameworkElement>
Public Class KeyDownTriggerBehavior
Inherits Trigger(Of FrameworkElement)
- Inheritance
-
Microsoft.Xaml.Interactivity.Trigger<Windows.UI.Xaml.FrameworkElement>KeyDownTriggerBehavior
- Attributes
-
Microsoft.Xaml.Interactivity.TypeConstraintAttribute
Constructors
KeyDownTriggerBehavior() |
Fields
KeyProperty |
Identifies the Key property. |
Properties
Key |
Gets or sets the key to listen when the associated object is loaded. |
Methods
OnAttached() | |
OnDetaching() |