In This Article

MicroTrendIndicator Class

Represents a trend indicator.

[TemplateVisualState(Name = "Higher", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Neutral", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Lower", GroupName = "CommonStates")]
public class MicroTrendIndicator : Control
Inheritance:
object Visual UIElement FrameworkElement Control object

Constructors

MicroTrendIndicator()

Initializes an instance of the class.

public MicroTrendIndicator()

Properties

HigherTemplate

The DataTemplate to use for a higher value.

public DataTemplate? HigherTemplate { get; set; }

Property Value

DataTemplate

LowerTemplate

The DataTemplate to use for a lower value.

public DataTemplate? LowerTemplate { get; set; }

Property Value

DataTemplate

NeutralTemplate

The DataTemplate to use for a neutral value.

public DataTemplate? NeutralTemplate { get; set; }

Property Value

DataTemplate

OriginValue

The origin value.

public double OriginValue { get; set; }

Property Value

double:

The default value is 0.0.

Value

The current value.

public double Value { get; set; }

Property Value

double:

The default value is 0.0.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Fields

HigherTemplateProperty

Defines the HigherTemplate property.

public static readonly DependencyProperty HigherTemplateProperty

LowerTemplateProperty

Defines the LowerTemplate property.

public static readonly DependencyProperty LowerTemplateProperty

NeutralTemplateProperty

Defines the NeutralTemplate property.

public static readonly DependencyProperty NeutralTemplateProperty

OriginValueProperty

Defines the OriginValue property.

public static readonly DependencyProperty OriginValueProperty

ValueProperty

Defines the Value property.

public static readonly DependencyProperty ValueProperty

Extension Methods