C# Class csCommon.Plugins.Timeline.TimelineView

Interaction logic for ucTimeline.xaml
Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Свойство 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

Свойство 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

Méthodes publiques

Méthode Description
AddItemToTimeline ( TimelineItem tlItem ) : void
Draw ( ) : void

Draw timeline (lines, times)

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

Private Methods

Méthode 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 méthode

public AddItemToTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
Résultat void

Draw() public méthode

Draw timeline (lines, times)
public Draw ( ) : void
Résultat void

RemoveItemFromTimeline() public méthode

public RemoveItemFromTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
Résultat void

TimelineView() public méthode

public TimelineView ( ) : Caliburn.Micro
Résultat Caliburn.Micro

Property Details

BackgroundColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows BackgroundColorProperty
Résultat System.Windows.DependencyProperty

DividerColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows DividerColorProperty
Résultat System.Windows.DependencyProperty

DividerWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows DividerWidthProperty
Résultat System.Windows.DependencyProperty

FutureBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows FutureBrushProperty
Résultat System.Windows.DependencyProperty

HasFocusProperty public_oe static_oe property

public static DependencyProperty,System.Windows HasFocusProperty
Résultat System.Windows.DependencyProperty

LNow public_oe property

public Line LNow
Résultat Line

TextColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows TextColorProperty
Résultat System.Windows.DependencyProperty