C# Class FirstFloor.ModernUI.Windows.Attached.Draggable

Show file Open project: gro-ove/actools

Public Properties

Property Type Description
DataProperty System.Windows.DependencyProperty
DestinationProperty System.Windows.DependencyProperty
EnabledProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetData ( DependencyObject obj ) : object
GetDestination ( DependencyObject obj ) : string
GetEnabled ( FrameworkElement obj ) : bool
SetData ( DependencyObject obj, object value ) : void
SetDestination ( DependencyObject obj, string value ) : void
SetEnabled ( FrameworkElement obj, bool value ) : void

Private Methods

Method Description
DataGrid_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Destination_Drop ( object sender, System.Windows.DragEventArgs e ) : void
Element_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Element_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
IgnoreSpecialControls ( object sender, System.Windows.Input.MouseEventArgs e ) : bool
IsDragging ( object sender, System.Windows.Input.MouseEventArgs e ) : bool
ListBox_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MoveBasic ( FrameworkElement element ) : bool
MoveDraggable ( [ element, [ draggable ) : bool
MoveFromDataGrid ( FrameworkElement element, System.Windows.Input.MouseEventArgs e ) : bool
MoveFromListBox ( IInputElement element, System.Windows.Input.MouseEventArgs e ) : bool
OnDestinationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnEnabledChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PrepareItem ( FrameworkElement element ) : ItemsControl

Method Details

GetData() public static method

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

GetDestination() public static method

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

GetEnabled() public static method

public static GetEnabled ( FrameworkElement obj ) : bool
obj System.Windows.FrameworkElement
return bool

SetData() public static method

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

SetDestination() public static method

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

SetEnabled() public static method

public static SetEnabled ( FrameworkElement obj, bool value ) : void
obj System.Windows.FrameworkElement
value bool
return void

Property Details

DataProperty public static property

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

DestinationProperty public static property

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

EnabledProperty public static property

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