Table of Contents

Class DigitalInput

Namespace
Loehnert.Lisrt.IO.Controls
Assembly
Loehnert.Lisrt.IO.dll

Interaction logic for DigitalInput.XAML.cs.

public class DigitalInput : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Inheritance
DigitalInput
Implements
Inherited Members

Constructors

DigitalInput()

Initializes a new instance of the DigitalInput class.

public DigitalInput()

Fields

IndicatorColorProperty

Identifies the IndicatorColor dependency property. Default is Green.

public static readonly DependencyProperty IndicatorColorProperty

Field Value

DependencyProperty

IsFlashingProperty

Identifies the IsFlashing dependency property.

public static readonly DependencyProperty IsFlashingProperty

Field Value

DependencyProperty

SourceProperty

Identifies the Source dependency property.

public static readonly DependencyProperty SourceProperty

Field Value

DependencyProperty

Properties

AdditionalText

Gets the additional text.

public string AdditionalText { get; }

Property Value

string

IndicatorColor

Gets or sets the indicator color. Default is Green.

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

MainText

Gets the main text.

public string MainText { get; }

Property Value

string

Source

Gets or sets the source.

public IDigitalInput Source { get; set; }

Property Value

IDigitalInput

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler