mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
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 events.
|
||
class KeyEventArgs : public RoutedEventArgs
|
||
{
|
||
private:
|
||
Keys_t key;
|
||
|
||
public:
|
||
bool Handled;
|
||
Keys_t getKey() const;
|
||
};
|
||
|
||
typedef Event<Object*, KeyEventArgs*> KeyEventHandler;
|
||
}
|
||
}
|
||
}
|