mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
27 lines
487 B
C
27 lines
487 B
C
|
#pragma once
|
|||
|
|
|||
|
#include <System/Windows/RoutedEventArgs.h>
|
|||
|
#include <System/Windows/Input/Enums.h>
|
|||
|
|
|||
|
namespace System
|
|||
|
{
|
|||
|
namespace Windows
|
|||
|
{
|
|||
|
namespace Input
|
|||
|
{
|
|||
|
// Provides event data for the System::Windows::UIElement.KeyUp and System::Windows::UIElement.KeyDown<77>events.
|
|||
|
class KeyEventArgs : public RoutedEventArgs
|
|||
|
{
|
|||
|
private:
|
|||
|
Keys_t key;
|
|||
|
|
|||
|
public:
|
|||
|
bool Handled;
|
|||
|
Keys_t getKey() const;
|
|||
|
};
|
|||
|
|
|||
|
typedef Event<Object*, KeyEventArgs*> KeyEventHandler;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|