C# Класс Smrf.NodeXL.Visualization.Wpf.MouseDrag

Represents a mouse drag operation.
Create an instance of this class when a MouseDown event occurs. When the mouse is moved, call OnMouseMove to determine whether the mouse has moved far enough to begin a mouse drag operation. When the mouse button is released, call OnMouseUp.
Наследование: VisualizationBase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_bDragIsInProgress System.Boolean
m_oMouseDownLocation Point

Открытые методы

Метод Описание
AssertValid ( ) : void
MouseDrag ( Point mouseDownLocation ) : System

Initializes a new instance of the MouseDrag class.

OnMouseMove ( Point currentMouseLocation ) : System.Boolean
OnMouseUp ( ) : System.Boolean

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

MouseDrag() публичный Метод

Initializes a new instance of the MouseDrag class.
public MouseDrag ( Point mouseDownLocation ) : System
mouseDownLocation Point /// Location where the MouseDown event occurred, in client coordinates. ///
Результат System

OnMouseMove() публичный Метод

public OnMouseMove ( Point currentMouseLocation ) : System.Boolean
currentMouseLocation Point
Результат System.Boolean

OnMouseUp() публичный Метод

public OnMouseUp ( ) : System.Boolean
Результат System.Boolean

Описание свойств

m_bDragIsInProgress защищенное свойство

protected Boolean,System m_bDragIsInProgress
Результат System.Boolean

m_oMouseDownLocation защищенное свойство

protected Point m_oMouseDownLocation
Результат Point