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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject 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
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()