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

Represents a marquee that might be dragged with the mouse.
Create an instance of this class when an empty area of the graph is clicked. When the mouse is moved, check to determine whether the mouse has moved far enough to begin a marquee drag. If returns true, call to create a Visual to represent the dragged marquee.
Наследование: MouseDragWithVisual
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
m_oMarqueeRectangle System.Windows.Rect

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

Метод Описание
AssertValid ( ) : void
CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
DraggedMarquee ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System

Initializes a new instance of the DraggedMarquee class.

Защищенные методы

Метод Описание
CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect

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

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

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

CreateMarqueeRectangle() защищенный Метод

protected CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect
oCurrentMouseLocation Point
Результат System.Windows.Rect

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

public CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
currentMouseLocation Point
backgroundContrastColor Color
Результат Visual

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

Initializes a new instance of the DraggedMarquee class.
public DraggedMarquee ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System
mouseDownLocation Point /// Location where the graph was clicked, in client coordinates. ///
graphRectangle System.Windows.Rect /// The graph rectangle. ///
margin System.Int32 /// The graph margin. ///
Результат System

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

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

protected Rect,System.Windows m_oMarqueeRectangle
Результат System.Windows.Rect