C# Class TrakHound_UI.Timeline.TimelineDisplayEvent

we need this so that every timeline band can have it's own instance and therefore different brush and event top coordinates and width
Inheritance: System.Windows.Controls.ContentControl, INotifyPropertyChanged
Show file Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
MoreLinkText string
SelectedEventImageUrl string
TeaserSize int

Public Methods

Method Description
FirePropertyChanged ( string name ) : void
FixDescription ( string d ) : string
Recalculate ( bool fireUpdate = true ) : void
SetCalculatedTop ( double value ) : void
TimelineDisplayEvent ( TimelineEvent e, TimelineTray tray, TimelineBuilder builder ) : ColorWheel.Core

Private Methods

Method Description
OnEventPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
UpdateDisplayEvent ( ) : void

Method Details

FirePropertyChanged() public method

public FirePropertyChanged ( string name ) : void
name string
return void

FixDescription() public method

public FixDescription ( string d ) : string
d string
return string

Recalculate() public method

public Recalculate ( bool fireUpdate = true ) : void
fireUpdate bool
return void

SetCalculatedTop() public method

public SetCalculatedTop ( double value ) : void
value double
return void

TimelineDisplayEvent() public method

public TimelineDisplayEvent ( TimelineEvent e, TimelineTray tray, TimelineBuilder builder ) : ColorWheel.Core
e TimelineEvent
tray TimelineTray
builder TimelineBuilder
return ColorWheel.Core

Property Details

MoreLinkText public static property

public static string MoreLinkText
return string

SelectedEventImageUrl public static property

public static string SelectedEventImageUrl
return string

TeaserSize public static property

public static int TeaserSize
return int