C# Class csCommon.Plugins.Timeline.TimelineView

Interaction logic for ucTimeline.xaml
Show file Open project: TNOCS/csTouch

Public Properties

Property Type Description
BackgroundColorProperty System.Windows.DependencyProperty
DividerColorProperty System.Windows.DependencyProperty
DividerWidthProperty System.Windows.DependencyProperty
FutureBrushProperty System.Windows.DependencyProperty
HasFocusProperty System.Windows.DependencyProperty
LNow Line
TextColorProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
BFocusTimeManipulationCompleted void
BFocusTimeManipulationDelta void
BFocusTimeManipulationStarting void
BFocusTimeMouseDown void
BFocusTimeMouseLeave void
BFocusTimeMouseMove void
BFocusTimeMouseUp void
BFocusTimeMouseWheel void
Begin void
CTimeLineMouseDown void
CTimeLineMouseLeave void
CTimeLineMouseMove void
CTimeLineMouseUp void
CTimeLineMouseWheel void
CTimeLinePreviewTouchDown void
CalculateFocusTime void
CalculateStartEnd void
CompositionTargetRendering void
DoMoveFocusTime void
End void
EventLists_NewEvent void
FindPos double
InertiaTimelineTimerTick void
IsFixClose bool
MapControl_ExtentChanged void
NowTimerTick void
TimelineTimeChanged void
UcTimelineLoaded void
UcTimelineUnloaded void
UpdateCurrentTime void
UpdateVisibility void
bFocusTime_MouseDown void
bFocusTime_TouchLeave void
cTimeLine_ManipulationCompleted void
cTimeLine_ManipulationDelta void
cTimeLine_ManipulationInertiaStarting void
cTimeLine_ManipulationStarting void
cTimeLine_PreviewTouchUp void

Public Methods

Method Description
AddItemToTimeline ( TimelineItem tlItem ) : void
Draw ( ) : void

Draw timeline (lines, times)

RemoveItemFromTimeline ( TimelineItem tlItem ) : void
TimelineView ( ) : Caliburn.Micro

Private Methods

Method Description
BFocusTimeManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void
BFocusTimeManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void
BFocusTimeManipulationStarting ( object sender, System.Windows.Input.ManipulationStartingEventArgs e ) : void
BFocusTimeMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
BFocusTimeMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
BFocusTimeMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
BFocusTimeMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
BFocusTimeMouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
Begin ( ) : void
CTimeLineMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CTimeLineMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
CTimeLineMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
CTimeLineMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CTimeLineMouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
CTimeLinePreviewTouchDown ( object sender, System.Windows.Input.TouchEventArgs e ) : void
CalculateFocusTime ( ) : void
CalculateStartEnd ( double ddelta, double scale, Point p ) : void

Based on maninipulation calculate new start and end

CompositionTargetRendering ( object sender, EventArgs e ) : void
DoMoveFocusTime ( Point e ) : void
End ( ) : void
EventLists_NewEvent ( object sender, NewEventArgs e ) : void
FindPos ( System.DateTime dt ) : double
InertiaTimelineTimerTick ( object sender, EventArgs e ) : void
IsFixClose ( ) : bool
MapControl_ExtentChanged ( object sender, ExtentEventArgs e ) : void
NowTimerTick ( object sender, EventArgs e ) : void
TimelineTimeChanged ( object sender, EventArgs e ) : void
UcTimelineLoaded ( object sender, RoutedEventArgs e ) : void
UcTimelineUnloaded ( object sender, RoutedEventArgs e ) : void
UpdateCurrentTime ( ) : void

Update current time (small red line)

UpdateVisibility ( ) : void
bFocusTime_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
bFocusTime_TouchLeave ( object sender, System.Windows.Input.TouchEventArgs e ) : void
cTimeLine_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void
cTimeLine_ManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void
cTimeLine_ManipulationInertiaStarting ( object sender, System.Windows.Input.ManipulationInertiaStartingEventArgs e ) : void
cTimeLine_ManipulationStarting ( object sender, System.Windows.Input.ManipulationStartingEventArgs e ) : void
cTimeLine_PreviewTouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void

Method Details

AddItemToTimeline() public method

public AddItemToTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
return void

Draw() public method

Draw timeline (lines, times)
public Draw ( ) : void
return void

RemoveItemFromTimeline() public method

public RemoveItemFromTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
return void

TimelineView() public method

public TimelineView ( ) : Caliburn.Micro
return Caliburn.Micro

Property Details

BackgroundColorProperty public static property

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

DividerColorProperty public static property

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

DividerWidthProperty public static property

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

FutureBrushProperty public static property

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

HasFocusProperty public static property

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

LNow public property

public Line LNow
return Line

TextColorProperty public static property

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