C# Class WPFPlot.Controls.GraphControl

Inheritance: GraphControlBase
Mostrar archivo Open project: RuslanIsrafilov/WPFPlot

Public Properties

Property Type Description
AxisBrushProperty System.Windows.DependencyProperty
AxisThicknessProperty System.Windows.DependencyProperty
CenterProperty System.Windows.DependencyProperty
GridBrushProperty System.Windows.DependencyProperty
GridMinStepProperty System.Windows.DependencyProperty
GridThicknessProperty System.Windows.DependencyProperty
InternalMarginsProperty System.Windows.DependencyProperty
IsDraggingEnabledProperty System.Windows.DependencyProperty
IsGridEnabledProperty System.Windows.DependencyProperty
SegmentBeginProperty System.Windows.DependencyProperty
SegmentEndProperty System.Windows.DependencyProperty
ZoomXProperty System.Windows.DependencyProperty
ZoomYProperty System.Windows.DependencyProperty

Protected Methods

Method Description
ArrangeOverride ( Size arrangeBounds ) : Size
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size constraint ) : Size
OnCenterChanged ( Point oldValue, Point newValue ) : void
OnGraphItemsUpdated ( GraphItemUpdateOptions options ) : void
OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext dc ) : void
OnZoomXChanged ( double oldValue, double newValue ) : void
OnZoomYChanged ( double oldValue, double newValue ) : void
PrepareItemOverride ( GraphItem item ) : void

Private Methods

Method Description
AddTracingBox ( TracingBox box ) : void
ArrangeElement ( UIElement element, Rect &rect ) : void
CalculateGridStep ( bool isXStep ) : double
GetBottomGraphBound ( ) : double
GetGraphRectangle ( ) : Rect
GetLeftGraphBound ( ) : double
GetNotModifiedCenter ( Size constraint ) : Point
GetRightGraphBound ( ) : double
GetTopGraphBound ( ) : double
GraphControl ( ) : System
HideTracingBoxes ( ) : void
OnCenterPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnZoomXPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnZoomYPropertyChanged ( DependencyObject dObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RearrangeTracingBoxes ( ) : void
RemoveTracingBox ( TracingBox box ) : void
RenderAxis ( System.Windows.Media.DrawingContext dc ) : void
RenderDigitX ( System.Windows.Media.DrawingContext dc, double x, System.Windows.Media.Typeface typeface ) : void
RenderDigitY ( System.Windows.Media.DrawingContext dc, double y, System.Windows.Media.Typeface typeface ) : void
RenderGrid ( System.Windows.Media.DrawingContext dc ) : void
RenderGridX ( System.Windows.Media.DrawingContext dc, double step ) : void
RenderGridY ( System.Windows.Media.DrawingContext dc, double step ) : void
RenderHorizontalLine ( System.Windows.Media.DrawingContext dc, System.Windows.Media.Pen pen, double y ) : void
RenderPlotData ( System.Windows.Media.DrawingContext dc ) : void
RenderVerticalLine ( System.Windows.Media.DrawingContext dc, System.Windows.Media.Pen pen, double x ) : void
ShowTracingBoxes ( ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds System.Windows.Size
return System.Windows.Size

GetVisualChild() protected method

protected GetVisualChild ( int index ) : Visual
index int
return Visual

MeasureOverride() protected method

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
return System.Windows.Size

OnCenterChanged() protected method

protected OnCenterChanged ( Point oldValue, Point newValue ) : void
oldValue Point
newValue Point
return void

OnGraphItemsUpdated() protected method

protected OnGraphItemsUpdated ( GraphItemUpdateOptions options ) : void
options GraphItemUpdateOptions
return void

OnMouseEnter() protected method

protected OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseLeftButtonUp() protected method

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnRender() protected method

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

OnZoomXChanged() protected method

protected OnZoomXChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
return void

OnZoomYChanged() protected method

protected OnZoomYChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
return void

PrepareItemOverride() protected method

protected PrepareItemOverride ( GraphItem item ) : void
item GraphItem
return void

Property Details

AxisBrushProperty public_oe static_oe property

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

AxisThicknessProperty public_oe static_oe property

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

CenterProperty public_oe static_oe property

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

GridBrushProperty public_oe static_oe property

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

GridMinStepProperty public_oe static_oe property

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

GridThicknessProperty public_oe static_oe property

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

InternalMarginsProperty public_oe static_oe property

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

IsDraggingEnabledProperty public_oe static_oe property

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

IsGridEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsGridEnabledProperty
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

ZoomXProperty public_oe static_oe property

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

ZoomYProperty public_oe static_oe property

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