Class Indicator
Represents a LED control to show different states by colors or flashing.
public class Indicator : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
- Inheritance
-
Indicator
- Implements
- Inherited Members
Constructors
Indicator()
Initializes a new instance of the Indicator class.
public Indicator()
Fields
ColorProperty
Identifies the Color dependency property.
public static readonly DependencyProperty ColorProperty
Field Value
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
IndicatorColorProperty
Identifies the IndicatorColor dependency property.
public static readonly DependencyProperty IndicatorColorProperty
Field Value
IsFlashingProperty
Identifies the IsFlashing dependency property.
public static readonly DependencyProperty IsFlashingProperty
Field Value
IsOnProperty
Identifies the IsOn dependency property.
public static readonly DependencyProperty IsOnProperty
Field Value
IsShiningProperty
Identifies the IsShining dependency property.
public static readonly DependencyProperty IsShiningProperty
Field Value
Properties
Color
Gets or sets the color, see IndicatorColor property sets also changes this value.
public Color Color { get; set; }
Property Value
Diameter
Gets or sets the diameter of the indicator.
public double Diameter { get; set; }
Property Value
IndicatorColor
Gets or sets the color of the indicator. This sets the ColorProperty.
public Color IndicatorColor { get; set; }
Property Value
IsFlashing
Gets or sets a value indicating whether the indicator is flashing.
public bool IsFlashing { get; set; }
Property Value
IsOn
Gets or sets a value indicating whether the indicator is on.
public bool IsOn { get; set; }
Property Value
IsShining
Gets a value indicating whether the indicator is shining.
public bool IsShining { get; }