C# 클래스 WpfCharts.SpiderChartPanel

상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BackgroundColorProperty System.Windows.DependencyProperty
HoleRadiusProperty System.Windows.DependencyProperty
IsInteractiveProperty System.Windows.DependencyProperty
LinesProperty System.Windows.DependencyProperty
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
TicksProperty System.Windows.DependencyProperty
ValuesChangedEvent System.Windows.RoutedEvent

공개 메소드들

메소드 설명
SpiderChartPanel ( ) : System

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Arrange all children based on the geometric equations for the circle.

MeasureOverride ( Size availableSize ) : Size
OnBackgroundColorChanged ( Color oldBackgroundColor, Color newBackgroundColor ) : void

Provides derived classes an opportunity to handle changes to the BackgroundColor property.

OnHoleRadiusChanged ( double oldHoleRadius, double newHoleRadius ) : void

Provides derived classes an opportunity to handle changes to the HoleRadius property.

OnIsInteractiveChanged ( bool oldIsInteractive, bool newIsInteractive ) : void

Provides derived classes an opportunity to handle changes to the IsInteractive property.

OnLinesChanged ( IEnumerable oldLines, IEnumerable newLines ) : void

Provides derived classes an opportunity to handle changes to the Lines property.

OnMaximumChanged ( double oldMaximum, double newMaximum ) : void

Provides derived classes an opportunity to handle changes to the Maximum property.

OnMinimumChanged ( double oldMinimum, double newMinimum ) : void

Provides derived classes an opportunity to handle changes to the Minimum property.

OnRender ( System.Windows.Media.DrawingContext dc ) : void
OnTicksChanged ( double oldTicks, double newTicks ) : void

Provides derived classes an opportunity to handle changes to the Ticks property.

RaiseValuesChangedEvent ( string arg, List arg2 ) : ValuesChangedEventArgs

A helper method to raise the ValuesChanged event.

비공개 메소드들

메소드 설명
ComputeNewValue ( Point position, int nearestIndexOnLine ) : void
DeviceOnUpdated ( object sender, EventArgs e ) : void
Distance ( Point pt1, Point pt2 ) : double

Computes the Euclidean distance between pt1 and pt2

DrawBackground ( System.Windows.Media.DrawingContext dc ) : void

Draw background (with hole)

GetPoint ( Point center, double radius, double angle ) : Point
LinesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnBackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BackgroundColor property.

OnHoleRadiusChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the HoleRadius property.

OnIsInteractiveChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsInteractive property.

OnLinesChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Lines property.

OnMaximumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Maximum property.

OnMinimumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Minimum property.

OnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnTicksChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Ticks property.

RaiseValuesChangedEvent ( DependencyObject target, string name, List values ) : ValuesChangedEventArgs

A static helper method to raise the ValuesChanged event on a target element.

메소드 상세

ArrangeOverride() 보호된 메소드

Arrange all children based on the geometric equations for the circle.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
리턴 System.Windows.Size

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
리턴 System.Windows.Size

OnBackgroundColorChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the BackgroundColor property.
protected OnBackgroundColorChanged ( Color oldBackgroundColor, Color newBackgroundColor ) : void
oldBackgroundColor Color
newBackgroundColor Color
리턴 void

OnHoleRadiusChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the HoleRadius property.
protected OnHoleRadiusChanged ( double oldHoleRadius, double newHoleRadius ) : void
oldHoleRadius double
newHoleRadius double
리턴 void

OnIsInteractiveChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the IsInteractive property.
protected OnIsInteractiveChanged ( bool oldIsInteractive, bool newIsInteractive ) : void
oldIsInteractive bool
newIsInteractive bool
리턴 void

OnLinesChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the Lines property.
protected OnLinesChanged ( IEnumerable oldLines, IEnumerable newLines ) : void
oldLines IEnumerable
newLines IEnumerable
리턴 void

OnMaximumChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the Maximum property.
protected OnMaximumChanged ( double oldMaximum, double newMaximum ) : void
oldMaximum double
newMaximum double
리턴 void

OnMinimumChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the Minimum property.
protected OnMinimumChanged ( double oldMinimum, double newMinimum ) : void
oldMinimum double
newMinimum double
리턴 void

OnRender() 보호된 메소드

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

OnTicksChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the Ticks property.
protected OnTicksChanged ( double oldTicks, double newTicks ) : void
oldTicks double
newTicks double
리턴 void

RaiseValuesChangedEvent() 보호된 메소드

A helper method to raise the ValuesChanged event.
protected RaiseValuesChangedEvent ( string arg, List arg2 ) : ValuesChangedEventArgs
arg string
arg2 List
리턴 ValuesChangedEventArgs

SpiderChartPanel() 공개 메소드

public SpiderChartPanel ( ) : System
리턴 System

프로퍼티 상세

BackgroundColorProperty 공개적으로 정적으로 프로퍼티

BackgroundColor Dependency Property
public static DependencyProperty,System.Windows BackgroundColorProperty
리턴 System.Windows.DependencyProperty

HoleRadiusProperty 공개적으로 정적으로 프로퍼티

HoleRadius Dependency Property
public static DependencyProperty,System.Windows HoleRadiusProperty
리턴 System.Windows.DependencyProperty

IsInteractiveProperty 공개적으로 정적으로 프로퍼티

IsInteractive Dependency Property
public static DependencyProperty,System.Windows IsInteractiveProperty
리턴 System.Windows.DependencyProperty

LinesProperty 공개적으로 정적으로 프로퍼티

Lines Dependency Property (acts as a kind of ItemsSource, triggering a redraw when the collection is changed)
public static DependencyProperty,System.Windows LinesProperty
리턴 System.Windows.DependencyProperty

MaximumProperty 공개적으로 정적으로 프로퍼티

Maximum Dependency Property
public static DependencyProperty,System.Windows MaximumProperty
리턴 System.Windows.DependencyProperty

MinimumProperty 공개적으로 정적으로 프로퍼티

Minimum Dependency Property
public static DependencyProperty,System.Windows MinimumProperty
리턴 System.Windows.DependencyProperty

TicksProperty 공개적으로 정적으로 프로퍼티

Ticks Dependency Property
public static DependencyProperty,System.Windows TicksProperty
리턴 System.Windows.DependencyProperty

ValuesChangedEvent 공개적으로 정적으로 프로퍼티

ValuesChanged Routed Event
public static RoutedEvent,System.Windows ValuesChangedEvent
리턴 System.Windows.RoutedEvent