C# 클래스 TrakHound_UI.PieChart

Interaction logic for PieChart.xaml
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: TrakHound/TrakHound-Community

공개 프로퍼티들

프로퍼티 타입 설명
ColorSelectorProperty System.Windows.DependencyProperty
HoleSizeProperty System.Windows.DependencyProperty
PlottedPropertyProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetColorSelector ( UIElement element ) : IColorSelector
GetPlottedProperty ( UIElement element ) : String
PieChart ( ) : System
SetColorSelector ( UIElement element, IColorSelector value ) : void
SetPlottedProperty ( UIElement element, String value ) : void

비공개 메소드들

메소드 설명
BoundCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles events which are raised when the bound collection changes (i.e. items added/removed)

CollectionViewCurrentChanged ( object sender, EventArgs e ) : void

Handles the event which occurs when the selected item has changed

CollectionViewCurrentChanging ( object sender, System.ComponentModel.CurrentChangingEventArgs e ) : void

Handles the event which occurs when the selected item is about to change

ConstructPiePieces ( ) : void

Constructs pie pieces and adds them to the visual tree for this control's canvas

DataContextChangedHandler ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handle changes in the datacontext. When a change occurs handlers are registered for events which occur when the collection changes or any items within teh collection change.

GetPlottedPropertyValue ( object item ) : double
ItemPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles events which occur when the properties of bound items change.

ObserveBoundCollectionChanges ( ) : void

Iterates over the items inthe bound collection, adding handlers for PropertyChanged events

PiePieceMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the MouseUp event from the individual Pie Pieces

PiePieceToolTipOpening ( object sender, System.Windows.Controls.ToolTipEventArgs e ) : void

Handles the event which occurs just before a pie piece tooltip opens

PlottedPropertyChanged ( object sender, EventArgs e ) : void

Handles changes to the PlottedProperty property.

메소드 상세

GetColorSelector() 공개 정적인 메소드

public static GetColorSelector ( UIElement element ) : IColorSelector
element UIElement
리턴 IColorSelector

GetPlottedProperty() 공개 정적인 메소드

public static GetPlottedProperty ( UIElement element ) : String
element UIElement
리턴 String

PieChart() 공개 메소드

public PieChart ( ) : System
리턴 System

SetColorSelector() 공개 정적인 메소드

public static SetColorSelector ( UIElement element, IColorSelector value ) : void
element UIElement
value IColorSelector
리턴 void

SetPlottedProperty() 공개 정적인 메소드

public static SetPlottedProperty ( UIElement element, String value ) : void
element UIElement
value String
리턴 void

프로퍼티 상세

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

public static DependencyProperty,System.Windows ColorSelectorProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows HoleSizeProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows PlottedPropertyProperty
리턴 System.Windows.DependencyProperty