C# Class Huoyaoyuan.AdmiralRoom.Views.Standalone.MaterialChart

Inheritance: System.Windows.FrameworkElement
Show file Open project: huoyaoyuan/AdmiralRoom

Public Properties

Property Type Description
FromProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty
ToProperty System.Windows.DependencyProperty

Public Methods

Method Description
UpdateShown ( bool shown, int highlight ) : void

Protected Methods

Method Description
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
MakeChartPoint ( System.DateTime datetime, double value, int id ) : Point
ReRender ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Reduce ( IEnumerable source ) : IEnumerable

Method Details

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

UpdateShown() public method

public UpdateShown ( bool shown, int highlight ) : void
shown bool
highlight int
return void

Property Details

FromProperty public static property

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

SourceProperty public static property

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

ToProperty public static property

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