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 a new instance of the MicroTrendIndicator class.
public MicroTrendIndicator()
Properties
HigherTemplate
Gets or sets the DataTemplate to use for a higher value. This is a dependency property.
public DataTemplate HigherTemplate { get; set; }
Property Value
- DataTemplate:
The DataTemplate to use for a higher value.
LowerTemplate
Gets or sets the DataTemplate to use for a lower value. This is a dependency property.
public DataTemplate LowerTemplate { get; set; }
Property Value
- DataTemplate:
The DataTemplate to use for a lower value.
NeutralTemplate
Gets or sets the DataTemplate to use for a neutral value. This is a dependency property.
public DataTemplate NeutralTemplate { get; set; }
Property Value
- DataTemplate:
The DataTemplate to use for a neutral value.
OriginValue
Gets or sets the origin value. This is a dependency property.
public double OriginValue { get; set; }
Property Value
- double:
The origin value. The default value is
0.0
.
Value
Gets or sets the current value. This is a dependency property.
public double Value { get; set; }
Property Value
- double:
The current value. The default value is
0.0
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
Fields
HigherTemplateProperty
Identifies the HigherTemplate dependency property. This field is read-only.
public static readonly DependencyProperty HigherTemplateProperty
LowerTemplateProperty
Identifies the LowerTemplate dependency property. This field is read-only.
public static readonly DependencyProperty LowerTemplateProperty
NeutralTemplateProperty
Identifies the NeutralTemplate dependency property. This field is read-only.
public static readonly DependencyProperty NeutralTemplateProperty
OriginValueProperty
Identifies the OriginValue dependency property. This field is read-only.
public static readonly DependencyProperty OriginValueProperty
ValueProperty
Identifies the Value dependency property. This field is read-only.
public static readonly DependencyProperty ValueProperty