C# Class Quasar.DragDrop.AttachedDragDropBehavior

Datei anzeigen Open project: indexzero/quasar

Public Properties

Property Type Description
DragCompletedProperty System.Windows.DependencyProperty
DragDataProperty System.Windows.DependencyProperty
DragDeltaProperty System.Windows.DependencyProperty
DragDropEffectsProperty System.Windows.DependencyProperty
DragEnterProperty System.Windows.DependencyProperty
DragLeaveProperty System.Windows.DependencyProperty
DragStartProperty System.Windows.DependencyProperty
DropProperty System.Windows.DependencyProperty
IsEnabledProperty System.Windows.DependencyProperty
IsHostProperty System.Windows.DependencyProperty
RestrictToParentBoundsProperty System.Windows.DependencyProperty
XProperty System.Windows.DependencyProperty
YProperty System.Windows.DependencyProperty

Public Methods

Method Description
FindDragDropHost ( UIElement element ) : FrameworkElement
GetBeginDragHandler ( DependencyObject obj ) : DragStartedEventHandler
GetDragCompleted ( DependencyObject obj ) : string
GetDragCompletedHandler ( DependencyObject obj ) : DragCompletedEventHandler
GetDragData ( DependencyObject obj ) : object
GetDragDelta ( DependencyObject obj ) : string
GetDragDeltaHandler ( DependencyObject obj ) : DragDeltaEventHandler
GetDragDropEffects ( DependencyObject obj ) : DragDropEffects
GetDragEnter ( DependencyObject obj ) : string
GetDragEnterHandler ( DependencyObject obj ) : DragEventHandler
GetDragLeave ( DependencyObject obj ) : string
GetDragLeaveHandler ( DependencyObject obj ) : DragEventHandler
GetDragStart ( DependencyObject obj ) : string
GetDrop ( DependencyObject obj ) : string
GetDropHandler ( DependencyObject obj ) : DragEventHandler
GetIsEnabled ( DependencyObject obj ) : bool
GetIsHost ( DependencyObject obj ) : bool
GetRestrictToParentBounds ( DependencyObject obj ) : bool
GetX ( DependencyObject obj ) : double
GetY ( DependencyObject obj ) : double
SetDragCompleted ( DependencyObject obj, string value ) : void
SetDragData ( DependencyObject obj, object value ) : void
SetDragDelta ( DependencyObject obj, string value ) : void
SetDragDropEffects ( DependencyObject obj, DragDropEffects value ) : void
SetDragEnter ( DependencyObject obj, string value ) : void
SetDragLeave ( DependencyObject obj, string value ) : void
SetDragStart ( DependencyObject obj, string value ) : void
SetDrop ( DependencyObject obj, string value ) : void
SetIsEnabled ( DependencyObject obj, bool value ) : void
SetIsHost ( DependencyObject obj, bool value ) : void
SetRestrictToParentBounds ( DependencyObject obj, bool value ) : void
SetX ( DependencyObject obj, double value ) : void
SetY ( DependencyObject obj, double value ) : void

Private Methods

Method Description
FindFirstDragDropTarget ( IEnumerable elements ) : UIElement
GetItemUnderDrag ( DependencyObject obj ) : UIElement
GetTotalX ( DependencyObject obj ) : double
GetTotalY ( DependencyObject obj ) : double
OnDragCompleted ( object sender, System.Windows.Input.MouseButtonEventArgs args ) : void
OnDragDelta ( object sender, System.Windows.Input.MouseEventArgs args ) : void
OnDragStart ( object sender, System.Windows.Input.MouseButtonEventArgs args ) : void
OnIsEnabledChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
SetBeginDragHandler ( DependencyObject obj, DragStartedEventHandler value ) : void
SetDragCompletedHandler ( DependencyObject obj, DragCompletedEventHandler value ) : void
SetDragDeltaHandler ( DependencyObject obj, DragDeltaEventHandler value ) : void
SetDragEnterHandler ( DependencyObject obj, DragEventHandler value ) : void
SetDragLeaveHandler ( DependencyObject obj, DragEventHandler value ) : void
SetDropHandler ( DependencyObject obj, DragEventHandler value ) : void
SetItemUnderDag ( DependencyObject obj, UIElement value ) : void
SetTotalX ( DependencyObject obj, double value ) : void
SetTotalY ( DependencyObject obj, double value ) : void

Method Details

FindDragDropHost() public static method

public static FindDragDropHost ( UIElement element ) : FrameworkElement
element UIElement
return System.Windows.FrameworkElement

GetBeginDragHandler() public static method

public static GetBeginDragHandler ( DependencyObject obj ) : DragStartedEventHandler
obj System.Windows.DependencyObject
return DragStartedEventHandler

GetDragCompleted() public static method

public static GetDragCompleted ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDragCompletedHandler() public static method

public static GetDragCompletedHandler ( DependencyObject obj ) : DragCompletedEventHandler
obj System.Windows.DependencyObject
return DragCompletedEventHandler

GetDragData() public static method

public static GetDragData ( DependencyObject obj ) : object
obj System.Windows.DependencyObject
return object

GetDragDelta() public static method

public static GetDragDelta ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDragDeltaHandler() public static method

public static GetDragDeltaHandler ( DependencyObject obj ) : DragDeltaEventHandler
obj System.Windows.DependencyObject
return DragDeltaEventHandler

GetDragDropEffects() public static method

public static GetDragDropEffects ( DependencyObject obj ) : DragDropEffects
obj System.Windows.DependencyObject
return DragDropEffects

GetDragEnter() public static method

public static GetDragEnter ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDragEnterHandler() public static method

public static GetDragEnterHandler ( DependencyObject obj ) : DragEventHandler
obj System.Windows.DependencyObject
return DragEventHandler

GetDragLeave() public static method

public static GetDragLeave ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDragLeaveHandler() public static method

public static GetDragLeaveHandler ( DependencyObject obj ) : DragEventHandler
obj System.Windows.DependencyObject
return DragEventHandler

GetDragStart() public static method

public static GetDragStart ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDrop() public static method

public static GetDrop ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDropHandler() public static method

public static GetDropHandler ( DependencyObject obj ) : DragEventHandler
obj System.Windows.DependencyObject
return DragEventHandler

GetIsEnabled() public static method

public static GetIsEnabled ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetIsHost() public static method

public static GetIsHost ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetRestrictToParentBounds() public static method

public static GetRestrictToParentBounds ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetX() public static method

public static GetX ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

GetY() public static method

public static GetY ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

SetDragCompleted() public static method

public static SetDragCompleted ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDragData() public static method

public static SetDragData ( DependencyObject obj, object value ) : void
obj System.Windows.DependencyObject
value object
return void

SetDragDelta() public static method

public static SetDragDelta ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDragDropEffects() public static method

public static SetDragDropEffects ( DependencyObject obj, DragDropEffects value ) : void
obj System.Windows.DependencyObject
value DragDropEffects
return void

SetDragEnter() public static method

public static SetDragEnter ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDragLeave() public static method

public static SetDragLeave ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDragStart() public static method

public static SetDragStart ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDrop() public static method

public static SetDrop ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetIsEnabled() public static method

public static SetIsEnabled ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetIsHost() public static method

public static SetIsHost ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetRestrictToParentBounds() public static method

public static SetRestrictToParentBounds ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetX() public static method

public static SetX ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

SetY() public static method

public static SetY ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

Property Details

DragCompletedProperty public_oe static_oe property

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

DragDataProperty public_oe static_oe property

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

DragDeltaProperty public_oe static_oe property

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

DragDropEffectsProperty public_oe static_oe property

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

DragEnterProperty public_oe static_oe property

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

DragLeaveProperty public_oe static_oe property

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

DragStartProperty public_oe static_oe property

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

DropProperty public_oe static_oe property

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

IsEnabledProperty public_oe static_oe property

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

IsHostProperty public_oe static_oe property

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

RestrictToParentBoundsProperty public_oe static_oe property

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

XProperty public_oe static_oe property

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

YProperty public_oe static_oe property

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