C# Класс TrakHound_UI.PieChart

Interaction logic for PieChart.xaml
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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