C# Класс Microsoft.Silverlight.Testing.Controls.DragValidator

Class to encapsulate drag behavior for a UIElement.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DragValidator ( UIElement targetElement ) : System

Create an instance of the DragValidator class.

Приватные методы

Метод Описание
OnDragCompleted ( System.Windows.Input.MouseEventArgs e, bool canceled ) : void

Invoke the DragCompletedEvent handlers.

OnDragDelta ( System.Windows.Input.MouseEventArgs e ) : void

Invoke the DragDeltaEvent handlers.

OnDragStarted ( ) : void

Invoke the DragStartedEvent handlers.

TargetElement_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handle the MouseLeftButtonDown event for the UIElement to start a drag operation.

TargetElement_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handle the MouseLeftButtonUp event for the UIElement to complete the drag operation.

TargetElement_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Handle the MouseMove event for the UIElement to update the drag operation.

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

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

Create an instance of the DragValidator class.
public DragValidator ( UIElement targetElement ) : System
targetElement UIElement /// UIElement that represents the source of the drag operation. ///
Результат System