C# Class TrakHound_Dashboard.Pages.Dashboard.Footprint.Controls.DeviceItem

Interaction logic for DeviceItem.xaml
Inheritance: System.Windows.Controls.UserControl
Show file Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
AvailabilityProperty System.Windows.DependencyProperty
ConnectedProperty System.Windows.DependencyProperty
ControllerModeProperty System.Windows.DependencyProperty
DeviceImageProperty System.Windows.DependencyProperty
DeviceProperty System.Windows.DependencyProperty
DeviceStatusProperty System.Windows.DependencyProperty
ExecutionModeProperty System.Windows.DependencyProperty
ParentProperty System.Windows.DependencyProperty
StatusBrushProperty System.Windows.DependencyProperty

Public Methods

Method Description
DecreaseSize ( ) : void
DeviceItem ( Footprint parent, DeviceDescription device ) : System
IncreaseSize ( ) : void
LoadDeviceImage ( string fileId ) : void
StartDrag ( ) : void
UpdateData ( Data info ) : void

Private Methods

Method Description
CloseButton_Clicked ( TrakHound_UI bt ) : void
LoadDeviceImage_GUI ( System.Windows.Media.Imaging.BitmapSource img ) : void
LoadDeviceImage_Worker ( object o ) : void
MenuItem_Close_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_DecreaseSize_Clicked ( TrakHound_UI bt ) : void
MenuItem_Edit_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_IncreaseSize_Clicked ( TrakHound_UI bt ) : void
MenuItem_ViewDetails_Click ( object sender, RoutedEventArgs e ) : void
ResizeThumb_DragCompleted ( object sender, System e ) : void
root_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
root_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
root_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Method Details

DecreaseSize() public method

public DecreaseSize ( ) : void
return void

DeviceItem() public method

public DeviceItem ( Footprint parent, DeviceDescription device ) : System
parent Footprint
device TrakHound.Configurations.DeviceDescription
return System

IncreaseSize() public method

public IncreaseSize ( ) : void
return void

LoadDeviceImage() public method

public LoadDeviceImage ( string fileId ) : void
fileId string
return void

StartDrag() public method

public StartDrag ( ) : void
return void

UpdateData() public method

public UpdateData ( Data info ) : void
info TrakHound.API.Data
return void

Property Details

AvailabilityProperty public static property

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

ConnectedProperty public static property

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

ControllerModeProperty public static property

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

DeviceImageProperty public static property

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

DeviceProperty public static property

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

DeviceStatusProperty public static property

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

ExecutionModeProperty public static property

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

ParentProperty public static property

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

StatusBrushProperty public static property

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