C# Class Signum.Windows.DragController

Mostra file Open project: signumsoftware/framework Class Usage Examples

Public Properties

Property Type Description
DragControllerProperty System.Windows.DependencyProperty

Public Methods

Method Description
DragController ( FrameworkElement dragElement, object dataObject, DragDropEffects allowedEffects ) : System
DragController ( object>.Func dataObjectFactory, DragDropEffects allowedEffects ) : System
GetDragController ( DependencyObject obj ) : DragController
SetDragController ( DependencyObject obj, DragController value ) : void

Private Methods

Method Description
Subscribe ( FrameworkElement dragElement ) : void
Unsubscribe ( FrameworkElement dragElement ) : void
dragElement_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
dragElement_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Method Details

DragController() public method

public DragController ( FrameworkElement dragElement, object dataObject, DragDropEffects allowedEffects ) : System
dragElement System.Windows.FrameworkElement
dataObject object
allowedEffects DragDropEffects
return System

DragController() public method

public DragController ( object>.Func dataObjectFactory, DragDropEffects allowedEffects ) : System
dataObjectFactory object>.Func
allowedEffects DragDropEffects
return System

GetDragController() public static method

public static GetDragController ( DependencyObject obj ) : DragController
obj System.Windows.DependencyObject
return DragController

SetDragController() public static method

public static SetDragController ( DependencyObject obj, DragController value ) : void
obj System.Windows.DependencyObject
value DragController
return void

Property Details

DragControllerProperty public_oe static_oe property

public static DependencyProperty,System.Windows DragControllerProperty
return System.Windows.DependencyProperty