• Get Started
  • Documentation
  • Forums
  • Examples
  • Showcases
  • Integrations
  • Fuse
    • Getting Started
      • Supported platforms
      • Installation and quickstart
      • macOS installation
      • Windows installation
      • Introduction to Fuse
      • Introduction to Fuse Studio
      • Feature overview
    • Tutorial
      • Introduction
      • Step 1: Edit Hike view
      • Step 2: Multiple hikes
      • Step 3: Splitting up components
      • Step 4: Navigation and routing
      • Step 5: Mocking our Backend
      • Step 6: Tweaking the look/feel
      • Step 7: Splash screen
      • Step 8: Final thoughts
    • Development
      • UX Markup
        • Introduction
        • Componentization
        • Responsive Layout
        • Safe Layout
        • Declarative animation
        • Fuse for designers
        • Structuring app resources
        • Preview and export
        • Literals
        • Expressions
        • Names (ux:Name)
        • Classes (ux:Class)
        • Dependencies (ux:Dependency)
        • Properties (ux:Property)
        • Resources (ux:Key)
        • Globals (ux:Global)
        • Templates (ux:Template)
        • Binding (ux:Binding & ux:AutoBind)
        • Testing (ux:Test)
      • Built-in Components
        • Primitives
          • Introduction
          • Text
          • Rectangle
          • Circle
          • Curve
            • CurvePoint
          • Path
          • Image
          • Video
          • Sound
        • Controls
          • Introduction
          • Button
          • TextInput
          • TextView
          • Slider
          • Switch
          • CameraView
          • MapView
          • WebView
          • NativeViewHost
          • GraphicsView
        • Layouts
          • Introduction
          • Element
          • Panel
          • StackPanel
          • DockPanel
          • Grid
          • WrapPanel
          • ColumnLayout
          • CircleLayout
          • ScrollView
        • Navigation
          • Introduction
          • Page
          • PageControl
          • Router
          • Navigator
          • Transitions
        • Alive UX Kit
          • Introduction
          • Components
          • Themes
        • Charting
          • Introduction
          • Plot
          • DataSeries
          • PlotAxis
          • PlotData
          • PlotPoint
          • PlotBar
          • PlotCurvePoint
      • Triggers & Animation
        • Introduction
        • Transforms
        • Gestures
        • Animators
        • Timeline
        • Actions
        • Selection
        • StateGroups
        • MultiLayoutPanel
        • Busy
      • Effects
        • Introduction
        • DropShadow
        • Blur
        • Halftone
      • Resources
        • Introduction
        • Fonts
        • Image sources
        • Bundled files
        • Import from Sketch
        • Sketch symbols (Beta)
        • Import icon fonts
      • Scripting & Data Binding
        • Introduction
        • FuseJS
        • Model API
        • FuseJS (JavaScript) APIs
          • Polyfills
          • EventEmitter
          • FileSystem
          • Storage
          • Bundle
          • Lifecycle
          • InterApp
          • Share
          • HTTP
          • Working with REST APIs
          • Environment
          • Phone
          • Camera
          • CameraRoll
          • Vibration
          • GeoLocation
          • Push notifications
          • Local notifications
          • Sensors
          • Base64
          • Timer
          • ImageTools
          • Third-party modules
        • Observables API
          • Introduction
          • Full API reference
          • Patterns
        • Debugging
        • Data Binding
          • Introduction
          • Each
          • With
          • Match
            • Case
    • Platform Integration
      • Add Fuse to existing App
      • Native interop (Uno)
      • Native UX components
      • Native JS modules
      • Foreign code
      • Using 3rd party SDKs
      • Example Facebook login using foreign code
      • Build settings
      • Android Specifics
        • Gradle Support
        • Android permissions
        • Activity utils
        • Starting an Android Activity
      • IOS Specifics
        • iOS Capabilities
    • Technical corner
      • Introduction
      • Fuse plugin API
      • How preview works
      • UXL handbook
    • References
      • Project Reference (.unoproj file)
      • Full UX Class Reference
      • Uno Class Reference
      • FAQ
      • Community Packages

OnKeyPress.Key Property

The key-code defining what key cause this trigger to fire

Location

Namespace
Fuse.Triggers
Package
Fuse.Triggers 2.9.1

Returns

Key

Possible Values

Backspace
Tab
Enter
ShiftKey
ControlKey
AltKey
Break
CapsLock
Escape
Space
PageUp
PageDown
End
Home
Left
Up
Right
Down
Insert
Delete
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
NumPad0
NumPad1
NumPad2
NumPad3
NumPad4
NumPad5
NumPad6
NumPad7
NumPad8
NumPad9
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
MenuButton
BackButton
OSKey
MetaKey