Table of Contents

Class Indicator

Namespace
Loehnert.Controls
Assembly
Loehnert.Controls.dll

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

DependencyProperty

DiameterProperty

Identifies the Diameter dependency property.

public static readonly DependencyProperty DiameterProperty

Field Value

DependencyProperty

IndicatorColorProperty

Identifies the IndicatorColor dependency property.

public static readonly DependencyProperty IndicatorColorProperty

Field Value

DependencyProperty

IsFlashingProperty

Identifies the IsFlashing dependency property.

public static readonly DependencyProperty IsFlashingProperty

Field Value

DependencyProperty

IsOnProperty

Identifies the IsOn dependency property.

public static readonly DependencyProperty IsOnProperty

Field Value

DependencyProperty

IsShiningProperty

Identifies the IsShining dependency property.

public static readonly DependencyProperty IsShiningProperty

Field Value

DependencyProperty

Properties

Color

Gets or sets the color, see IndicatorColor property sets also changes this value.

public Color Color { get; set; }

Property Value

Color

Diameter

Gets or sets the diameter of the indicator.

public double Diameter { get; set; }

Property Value

double

IndicatorColor

Gets or sets the color of the indicator. This sets the ColorProperty.

public Color IndicatorColor { get; set; }

Property Value

Color

IsFlashing

Gets or sets a value indicating whether the indicator is flashing.

public bool IsFlashing { get; set; }

Property Value

bool

IsOn

Gets or sets a value indicating whether the indicator is on.

public bool IsOn { get; set; }

Property Value

bool

IsShining

Gets a value indicating whether the indicator is shining.

public bool IsShining { get; }

Property Value

bool