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*
23 lines
380 B
C++
23 lines
380 B
C++
#pragma once
|
|
|
|
#include <System/Windows/RoutedEventArgs.h>
|
|
|
|
namespace System
|
|
{
|
|
namespace Windows
|
|
{
|
|
template <typename T>
|
|
class RoutedPropertyChangedEventArgs : public RoutedEventArgs
|
|
{
|
|
public:
|
|
const T OldValue;
|
|
const T NewValue;
|
|
|
|
RoutedPropertyChangedEventArgs(const T oldValue, const T newValue)
|
|
: OldValue(oldValue), NewValue(newValue)
|
|
{
|
|
}
|
|
};
|
|
}
|
|
}
|