1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 66a012689c Changed Object::GetType to static
DependencyProperties can now (sort of) be registered
2013-07-11 17:25:49 +02:00

44 lines
1008 B
C++

#pragma once
#include <System/Windows/Controls/Control.h>
#include <System/Windows/Controls/Enums.h>
#include <System/Windows/Controls/Primitives/DragCompletedEventArgs.h>
#include <System/Windows/Controls/Primitives/DragDeltaEventArgs.h>
#include <System/Windows/Controls/Primitives/DragStartedEventArgs.h>
namespace System
{
namespace Windows
{
namespace Controls
{
namespace Primitives
{
// Represents a control that can be dragged by the user.
class Thumb : public Control
{
protected:
void OnGotFocus(RoutedEventArgs* e);
void OnLostFocus(RoutedEventArgs* e);
void OnMouseEnter(MouseEventArgs* e);
void OnMouseLeave(MouseEventArgs* e);
void OnMouseMove(MouseEventArgs* e);
public:
ClickMode_t ClickMode;
Thumb();
void CancelDrag();
static int GetType();
bool operator ==(const Thumb& right) const;
bool operator !=(const Thumb& right) const;
DragCompletedEventHandler DragCompleted;
};
}
}
}
}