Property | Type | Description | |
---|---|---|---|
CurrentDateTimeProperty | |||
ImmediateDisplayProperty | |||
MaxDateTimeProperty | |||
MinDateTimeProperty | |||
TeaserSizeProperty |
Property | Type | Description | |
---|---|---|---|
AddCopyrightElement | void | ||
ClearSelection | void | ||
CompareEvents | int | ||
FireEventCreated | void | ||
FireEventDeleted | void | ||
FireOnEventVisible | void | ||
FireScrollViewChanged | void | ||
FireTimelineDoubleClick | void | ||
ITimelineToolboxTarget | void | ||
ITimelineToolboxTarget | void | ||
LoadEventDocument | List |
||
OnControlAndDataComlete | void | ||
OnControlLoaded | void | ||
OnCurrentDateChanged | void | ||
OnFullScreenChanged | void | ||
OnMouseWheel | void | ||
OnSelectionChanged | void | ||
OnSizeChanged | void | ||
Zoom | void |
Method | Description | |
---|---|---|
AddTimelineBand ( int height, bool isMain, string srcType, int columnsCount ) : void |
Add new timeline band
|
|
AddTimelineBand ( int height, bool isMain, string srcType, int columnsCount, int eventSize ) : void | ||
AddTimelineToolbox ( ) : void | ||
ClearEvents ( ) : void |
Removes all events from all timeline bands
|
|
CreateEvent ( ) : TimelineEvent | ||
OnCurrentDateTimeChanged ( |
||
OnMaxDateTimeChanged ( |
||
OnMinDateTimeChanged ( |
||
ReadEvent ( System.Xml.Linq.XElement row ) : TimelineEvent | ||
RefreshEvents ( ) : void |
Refresh (delete and recreate and redisplay) all events on all timeline bands.
|
|
RefreshEvents ( bool checkInit ) : void | ||
Reload ( ) : void | ||
ResetEvents ( List |
Resets the timeline using a list of events to provide to the UI.
|
|
ResetEvents ( System.Xml.Linq.XDocument doc ) : void |
Resets the UI with the XML provided in the XML document.
|
|
ResetEvents ( string xml ) : void |
ResetEvents method adds events specified in xml to all timeline bands. If you need to refresh events call ClearEvents and then ResetEvents, this will removed all events from the screen and then draw up-to-date events.
|
|
Run ( ) : void |
Loads data and displays them in the control
|
|
SetTeaserEventImageForSelectedEvents ( string imageUrl ) : void |
This image that is displayed when an event is selected
|
|
TimelineTray ( ) : System | ||
ToString ( ) : string |
This method is used for debugging (from Utilities.Trace)
|
|
Zoom ( bool zoomIn ) : void |
Zooms in/out all timeline bands by one column
|
Method | Description | |
---|---|---|
GetAttribute ( System.Xml.Linq.XAttribute a ) : string |
Attribute value reader helper.
|
|
GetContent ( System.Xml.Linq.XElement e ) : string |
Returns content of element as xml
|
|
HookChildElements ( System.Windows.Controls.UIElementCollection col ) : void | ||
Initialized ( ) : void |
Method | Description | |
---|---|---|
AddCopyrightElement ( ) : void |
Do not remove copyright notice.
|
|
ClearSelection ( ) : void | ||
CompareEvents ( TimelineEvent a, TimelineEvent b ) : int |
Sort function for events by startdate
|
|
FireEventCreated ( |
||
FireEventDeleted ( |
||
FireOnEventVisible ( |
||
FireScrollViewChanged ( double height ) : void | ||
FireTimelineDoubleClick ( System.DateTime date, Point point ) : void | ||
ITimelineToolboxTarget ( ) : void | ||
ITimelineToolboxTarget ( System.DateTime date ) : void | ||
LoadEventDocument ( System.Xml.Linq.XDocument doc ) : List |
Adds events located in parsed document to list of all events
|
|
OnControlAndDataComlete ( object sender, |
This happens when we have all data and all timeline band controls have completed resizing, so we ready to show content
|
|
OnControlLoaded ( object sender, |
||
OnCurrentDateChanged ( object sender, |
The user moved current datetime on one of the timeline bands, so we sync all other bands with it.
|
|
OnFullScreenChanged ( object sender, |
||
OnMouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void | ||
OnSelectionChanged ( object sender, |
||
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void | ||
Zoom ( bool zoomIn, int zoomValue ) : void |
Zoom in/out all timeline bands by the number of columns defined by zoomValue
|
public AddTimelineBand ( int height, bool isMain, string srcType, int columnsCount ) : void | ||
height | int | |
isMain | bool | |
srcType | string | |
columnsCount | int | |
return | void |
public AddTimelineBand ( int height, bool isMain, string srcType, int columnsCount, int eventSize ) : void | ||
height | int | |
isMain | bool | |
srcType | string | |
columnsCount | int | |
eventSize | int | |
return | void |
protected static GetAttribute ( System.Xml.Linq.XAttribute a ) : string | ||
a | System.Xml.Linq.XAttribute | |
return | string |
protected static GetContent ( System.Xml.Linq.XElement e ) : string | ||
e | System.Xml.Linq.XElement | |
return | string |
protected HookChildElements ( System.Windows.Controls.UIElementCollection col ) : void | ||
col | System.Windows.Controls.UIElementCollection | |
return | void |
public static OnCurrentDateTimeChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
return | void |
public static OnMaxDateTimeChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
return | void |
public static OnMinDateTimeChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
return | void |
public ReadEvent ( System.Xml.Linq.XElement row ) : TimelineEvent | ||
row | System.Xml.Linq.XElement | |
return | TimelineEvent |
public RefreshEvents ( bool checkInit ) : void | ||
checkInit | bool | |
return | void |
public ResetEvents ( List |
||
events | List |
The events to reset the UI with. |
fixDates | bool | |
return | void |
public ResetEvents ( System.Xml.Linq.XDocument doc ) : void | ||
doc | System.Xml.Linq.XDocument | The XML document that contains the data for the timeline events. |
return | void |
public ResetEvents ( string xml ) : void | ||
xml | string | The XML data that contains the data for the timeline events. |
return | void |
public SetTeaserEventImageForSelectedEvents ( string imageUrl ) : void | ||
imageUrl | string | |
return | void |
public static DependencyProperty,System.Windows CurrentDateTimeProperty | ||
return |
public static DependencyProperty,System.Windows ImmediateDisplayProperty | ||
return |
public static DependencyProperty,System.Windows MaxDateTimeProperty | ||
return |
public static DependencyProperty,System.Windows MinDateTimeProperty | ||
return |