1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 52ef14a94b Transition from SVN to Git
Added implicit conversion to base types to all primary types (UInt32 et
al)
Added implicit conversion from System::String to const char*
2013-05-05 18:18:41 +02:00

48 lines
1.0 KiB
C++

#pragma once
#include <System/Windows/RoutedEventArgs.h>
namespace System
{
namespace Windows
{
namespace Controls
{
namespace Primitives
{
// Provides data for the System::Windows::Controls::Primitives::Thumb::DragCompleted event that occurs when a user completes a drag operation with the mouse of a System::Windows::Controls::Primitives::Thumb control.
class DragCompletedEventArgs : public RoutedEventArgs
{
private:
bool _canceled;
int _horizontalChange;
int _verticalChange;
public:
bool Canceled() const
{
return _canceled;
}
int getHorizontalChange() const
{
return _horizontalChange;
}
int getVerticalChange() const
{
return _verticalChange;
}
DragCompletedEventArgs(int horizontalChange, int verticalChange, bool canceled)
: _canceled(canceled), _horizontalChange(horizontalChange), _verticalChange(verticalChange)
{
}
};
typedef Event<Object*, DragCompletedEventArgs*> DragCompletedEventHandler;
}
}
}
}