C# Class WPFPlot.Controls.GraphItem

Inheritance: System.Windows.Media.Animation.Animatable
显示文件 Open project: RuslanIsrafilov/WPFPlot Class Usage Examples

Public Properties

Property Type Description
IsInterpolationEnabledProperty System.Windows.DependencyProperty
IsTracingEnabledProperty System.Windows.DependencyProperty
PlotDataProperty System.Windows.DependencyProperty
SegmentBeginProperty System.Windows.DependencyProperty
SegmentEndProperty System.Windows.DependencyProperty
StrokeBrushProperty System.Windows.DependencyProperty
StrokeThicknessProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
Draw void
OnIsTracingEnabledPropertyChanged void
OnPlotDataPropertyChanged void
OnSegmentBeginPropertyChanged void
OnSegmentEndPropertyChanged void
PlotDataChanged void
RaiseSegmentChangedEvent void
RaiseUpdateEventOnPropertyChanged void
RaiseUpdatedEvent void
SubscribeToPlotDataUpdating void
UnsubscribeFromPlotDataChanging void

Public Methods

Method Description
GraphItem ( ) : System

Protected Methods

Method Description
CreateInstanceCore ( ) : System.Windows.Freezable
OnIsTracingEnabledChanged ( bool oldValue, bool newValue ) : void
OnPlotDataChanged ( IPlotDataSource oldValue, IPlotDataSource newValue ) : void

Private Methods

Method Description
Draw ( System.Windows.Media.DrawingContext dc, PointTranslater pt, GraphDrawingOptions op ) : void
OnIsTracingEnabledPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPlotDataPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSegmentBeginPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSegmentEndPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PlotDataChanged ( object sender, EventArgs e ) : void
RaiseSegmentChangedEvent ( ) : void
RaiseUpdateEventOnPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaiseUpdatedEvent ( GraphItemUpdateOptions options ) : void
SubscribeToPlotDataUpdating ( IPlotDataSource source ) : void
UnsubscribeFromPlotDataChanging ( IPlotDataSource source ) : void

Method Details

CreateInstanceCore() protected method

protected CreateInstanceCore ( ) : System.Windows.Freezable
return System.Windows.Freezable

GraphItem() public method

public GraphItem ( ) : System
return System

OnIsTracingEnabledChanged() protected method

protected OnIsTracingEnabledChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
return void

OnPlotDataChanged() protected method

protected OnPlotDataChanged ( IPlotDataSource oldValue, IPlotDataSource newValue ) : void
oldValue IPlotDataSource
newValue IPlotDataSource
return void

Property Details

IsInterpolationEnabledProperty public_oe static_oe property

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

IsTracingEnabledProperty public_oe static_oe property

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

PlotDataProperty public_oe static_oe property

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

SegmentBeginProperty public_oe static_oe property

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

SegmentEndProperty public_oe static_oe property

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

StrokeBrushProperty public_oe static_oe property

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

StrokeThicknessProperty public_oe static_oe property

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