#pragma once #include #include namespace System { namespace Windows { namespace Input { // Provides event data for the System::Windows::UIElement.KeyUp and System::Windows::UIElement.KeyDown events. class KeyEventArgs : public RoutedEventArgs { private: Keys_t key; public: bool Handled; Keys_t getKey() const; }; typedef Event KeyEventHandler; } } }