C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPoint

Inheritance: Windows.UI.Xaml.Controls.Control
Exibir arquivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
ActualDependentValueProperty Windows.UI.Xaml.DependencyProperty
ActualIndependentValueProperty Windows.UI.Xaml.DependencyProperty
DependentValueProperty Windows.UI.Xaml.DependencyProperty
DependentValueStringFormatProperty Windows.UI.Xaml.DependencyProperty
FormattedDependentValueProperty Windows.UI.Xaml.DependencyProperty
FormattedIndependentValueProperty Windows.UI.Xaml.DependencyProperty
IndependentValueProperty Windows.UI.Xaml.DependencyProperty
IndependentValueStringFormatProperty Windows.UI.Xaml.DependencyProperty
IsSelectionEnabledProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
GoToCurrentRevealState bool
OnActualDependentValuePropertyChanged void
OnActualIndependentValuePropertyChanged void
OnCurrentStateChanged void
OnDependentValuePropertyChanged void
OnDependentValueStringFormatPropertyChanged void
OnIndependentValuePropertyChanged void
OnIndependentValueStringFormatPropertyChanged void
OnIsSelectedPropertyChanged void
OnIsSelectionEnabledPropertyChanged void
OnLoaded void
OnStatePropertyChanged void
SetFormattedProperty void

Protected Methods

Method Description
DataPoint ( ) : System

Initializes a new instance of the DataPoint class.

OnActualDependentValuePropertyChanged ( IComparable oldValue, IComparable newValue ) : void

Called when the value of the ActualDependentValue property changes.

OnActualIndependentValuePropertyChanged ( object oldValue, object newValue ) : void

Called when the ActualIndependentValue property changes.

OnApplyTemplate ( ) : void

Builds the visual tree for the DataPoint when a new template is applied.

OnDependentValuePropertyChanged ( IComparable oldValue, IComparable newValue ) : void

Called when the DependentValue property changes.

OnDependentValueStringFormatPropertyChanged ( string oldValue, string newValue ) : void

Called when DependentValueStringFormat property changes.

OnIndependentValuePropertyChanged ( object oldValue, object newValue ) : void

Called when the IndependentValue property changes.

OnIndependentValueStringFormatPropertyChanged ( string oldValue, string newValue ) : void

Called when the value of the IndependentValueStringFormat property changes.

OnIsHoveredPropertyChanged ( bool oldValue, bool newValue ) : void

IsHoveredProperty property changed handler.

OnIsSelectedPropertyChanged ( bool oldValue, bool newValue ) : void

IsSelectedProperty property changed handler.

OnIsSelectionEnabledPropertyChanged ( bool oldValue, bool newValue ) : void

IsSelectionEnabledProperty property changed handler.

OnPointerEntered ( Windows e ) : void
OnPointerExited ( Windows e ) : void
OnPointerPressed ( Windows e ) : void
OnStatePropertyChanged ( DataPointState oldValue, DataPointState newValue ) : void

Called when the value of the State property changes.

Private Methods

Method Description
GoToCurrentRevealState ( ) : bool

Updates the Control's visuals to reflect the current state(s).

OnActualDependentValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the value of the ActualDependentValue property changes.

OnActualIndependentValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the ActualIndependentValue property changes.

OnCurrentStateChanged ( object sender, VisualStateChangedEventArgs e ) : void

Changes the DataPoint object's state after one of the VSM state animations completes.

OnDependentValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the DependentValue property changes.

OnDependentValueStringFormatPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when DependentValueStringFormat property changes.

OnIndependentValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the IndependentValue property changes.

OnIndependentValueStringFormatPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the value of the IndependentValueStringFormat property changes.

OnIsSelectedPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IsSelectedProperty property changed handler.

OnIsSelectionEnabledPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IsSelectionEnabledProperty property changed handler.

OnLoaded ( object sender, RoutedEventArgs e ) : void

Handles the Control's Loaded event.

OnStatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the value of the State property changes.

SetFormattedProperty ( DependencyProperty property, string format, object value ) : void

Sets a dependency property with the specified format.

Method Details

DataPoint() protected method

Initializes a new instance of the DataPoint class.
protected DataPoint ( ) : System
return System

OnActualDependentValuePropertyChanged() protected method

Called when the value of the ActualDependentValue property changes.
protected OnActualDependentValuePropertyChanged ( IComparable oldValue, IComparable newValue ) : void
oldValue IComparable The value to be replaced.
newValue IComparable The new value.
return void

OnActualIndependentValuePropertyChanged() protected method

Called when the ActualIndependentValue property changes.
protected OnActualIndependentValuePropertyChanged ( object oldValue, object newValue ) : void
oldValue object The value to be replaced.
newValue object The new value.
return void

OnApplyTemplate() protected method

Builds the visual tree for the DataPoint when a new template is applied.
protected OnApplyTemplate ( ) : void
return void

OnDependentValuePropertyChanged() protected method

Called when the DependentValue property changes.
protected OnDependentValuePropertyChanged ( IComparable oldValue, IComparable newValue ) : void
oldValue IComparable The value to be replaced.
newValue IComparable The new value.
return void

OnDependentValueStringFormatPropertyChanged() protected method

Called when DependentValueStringFormat property changes.
protected OnDependentValueStringFormatPropertyChanged ( string oldValue, string newValue ) : void
oldValue string The value to be replaced.
newValue string The new value.
return void

OnIndependentValuePropertyChanged() protected method

Called when the IndependentValue property changes.
protected OnIndependentValuePropertyChanged ( object oldValue, object newValue ) : void
oldValue object The old value.
newValue object The new value.
return void

OnIndependentValueStringFormatPropertyChanged() protected method

Called when the value of the IndependentValueStringFormat property changes.
protected OnIndependentValueStringFormatPropertyChanged ( string oldValue, string newValue ) : void
oldValue string The value to be replaced.
newValue string The new value.
return void

OnIsHoveredPropertyChanged() protected method

IsHoveredProperty property changed handler.
protected OnIsHoveredPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
return void

OnIsSelectedPropertyChanged() protected method

IsSelectedProperty property changed handler.
protected OnIsSelectedPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool The value to be replaced.
newValue bool The new value.
return void

OnIsSelectionEnabledPropertyChanged() protected method

IsSelectionEnabledProperty property changed handler.
protected OnIsSelectionEnabledPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
return void

OnPointerEntered() protected method

protected OnPointerEntered ( Windows e ) : void
e Windows
return void

OnPointerExited() protected method

protected OnPointerExited ( Windows e ) : void
e Windows
return void

OnPointerPressed() protected method

protected OnPointerPressed ( Windows e ) : void
e Windows
return void

OnStatePropertyChanged() protected method

Called when the value of the State property changes.
protected OnStatePropertyChanged ( DataPointState oldValue, DataPointState newValue ) : void
oldValue DataPointState The value to be replaced.
newValue DataPointState The new value.
return void

Property Details

ActualDependentValueProperty public_oe static_oe property

Identifies the ActualDependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualDependentValueProperty
return Windows.UI.Xaml.DependencyProperty

ActualIndependentValueProperty public_oe static_oe property

Identifies the ActualIndependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualIndependentValueProperty
return Windows.UI.Xaml.DependencyProperty

DependentValueProperty public_oe static_oe property

Identifies the DependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentValueProperty
return Windows.UI.Xaml.DependencyProperty

DependentValueStringFormatProperty public_oe static_oe property

Identifies the DependentValueStringFormat dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentValueStringFormatProperty
return Windows.UI.Xaml.DependencyProperty

FormattedDependentValueProperty public_oe static_oe property

Identifies the FormattedDependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml FormattedDependentValueProperty
return Windows.UI.Xaml.DependencyProperty

FormattedIndependentValueProperty public_oe static_oe property

Identifies the FormattedIndependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml FormattedIndependentValueProperty
return Windows.UI.Xaml.DependencyProperty

IndependentValueProperty public_oe static_oe property

Identifies the IndependentValue dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentValueProperty
return Windows.UI.Xaml.DependencyProperty

IndependentValueStringFormatProperty public_oe static_oe property

Identifies the IndependentValueStringFormat dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentValueStringFormatProperty
return Windows.UI.Xaml.DependencyProperty

IsSelectionEnabledProperty public_oe static_oe property

Identifies the IsSelectionEnabled dependency property.
public static DependencyProperty,Windows.UI.Xaml IsSelectionEnabledProperty
return Windows.UI.Xaml.DependencyProperty