C# Класс csCommon.Plugins.Timeline.TimelineView

Interaction logic for ucTimeline.xaml
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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

Свойство Тип Описание
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

Открытые методы

Метод Описание
AddItemToTimeline ( TimelineItem tlItem ) : void
Draw ( ) : void

Draw timeline (lines, times)

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

Приватные методы

Метод Описание
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

Описание методов

AddItemToTimeline() публичный Метод

public AddItemToTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
Результат void

Draw() публичный Метод

Draw timeline (lines, times)
public Draw ( ) : void
Результат void

RemoveItemFromTimeline() публичный Метод

public RemoveItemFromTimeline ( TimelineItem tlItem ) : void
tlItem TimelineItem
Результат void

TimelineView() публичный Метод

public TimelineView ( ) : Caliburn.Micro
Результат Caliburn.Micro

Описание свойств

BackgroundColorProperty публичное статическое свойство

public static DependencyProperty,System.Windows BackgroundColorProperty
Результат System.Windows.DependencyProperty

DividerColorProperty публичное статическое свойство

public static DependencyProperty,System.Windows DividerColorProperty
Результат System.Windows.DependencyProperty

DividerWidthProperty публичное статическое свойство

public static DependencyProperty,System.Windows DividerWidthProperty
Результат System.Windows.DependencyProperty

FutureBrushProperty публичное статическое свойство

public static DependencyProperty,System.Windows FutureBrushProperty
Результат System.Windows.DependencyProperty

HasFocusProperty публичное статическое свойство

public static DependencyProperty,System.Windows HasFocusProperty
Результат System.Windows.DependencyProperty

LNow публичное свойство

public Line LNow
Результат Line

TextColorProperty публичное статическое свойство

public static DependencyProperty,System.Windows TextColorProperty
Результат System.Windows.DependencyProperty