C# Class FrameTrapped.ComboTrainer.ViewModels.TimeLineItemViewModel

The time line item view model.
Inheritance: Caliburn.Micro.Screen
Show file Open project: jhogoforbroke/Frame-Trapped Class Usage Examples

Public Methods

Method Description
DeHighlight ( ) : void

Alias for setting this item as not active.

DecrementFrames ( ) : void

Descreases the frame count by one.

Highlight ( ) : void

Alias for setting this item as active.

IncrementFrames ( ) : void

Increases the frame count by one.

TimeLineItemViewModel ( ) : System.Windows.Controls.Primitives

Initializes a new instance of the TimeLineItemViewModel class.

TimeLineItemViewModel ( TimeLineViewModel parent ) : System.Windows.Controls.Primitives

Initializes a new instance of the TimeLineItemViewModel class.

TryHighlight ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void

The UI hook for highlighting the time line items.

This exists to prevent the Play Sound toggle button from activating highlighting.

Update ( ) : void

Force update the changed property notifications.

Private Methods

Method Description
InputItemViewModel_PropertyChanged ( object sender, System e ) : void

Method Details

DeHighlight() public method

Alias for setting this item as not active.
public DeHighlight ( ) : void
return void

DecrementFrames() public method

Descreases the frame count by one.
public DecrementFrames ( ) : void
return void

Highlight() public method

Alias for setting this item as active.
public Highlight ( ) : void
return void

IncrementFrames() public method

Increases the frame count by one.
public IncrementFrames ( ) : void
return void

TimeLineItemViewModel() public method

Initializes a new instance of the TimeLineItemViewModel class.
public TimeLineItemViewModel ( ) : System.Windows.Controls.Primitives
return System.Windows.Controls.Primitives

TimeLineItemViewModel() public method

Initializes a new instance of the TimeLineItemViewModel class.
public TimeLineItemViewModel ( TimeLineViewModel parent ) : System.Windows.Controls.Primitives
parent TimeLineViewModel The parent .
return System.Windows.Controls.Primitives

TryHighlight() public method

The UI hook for highlighting the time line items.
This exists to prevent the Play Sound toggle button from activating highlighting.
public TryHighlight ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
sender object The sender.
e System.Windows.Input.KeyboardFocusChangedEventArgs The keyboard focus changed event args.
return void

Update() public method

Force update the changed property notifications.
public Update ( ) : void
return void