Table of Contents

Class DigitalOutput

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

Interaction logic for DigitalOutput.XAML.cs.

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

Constructors

DigitalOutput()

Initializes a new instance of the DigitalOutput class.

public DigitalOutput()

Fields

IndicatorColorProperty

Identifies the IndicatorColor dependency property. Default is Red.

public static readonly DependencyProperty IndicatorColorProperty

Field Value

DependencyProperty

IsFlashingProperty

Identifies the IsFlashing dependency property.

public static readonly DependencyProperty IsFlashingProperty

Field Value

DependencyProperty

IsReadonlyProperty

Identifies the IsReadonly dependency property.

public static readonly DependencyProperty IsReadonlyProperty

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 Red.

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

IsReadonly

Gets or sets a value indicating whether the output is readonly. This will hide the set button.

public bool IsReadonly { get; set; }

Property Value

bool

MainText

Gets the main text.

public string MainText { get; }

Property Value

string

Source

Gets or sets the source.

public IDigitalOutput Source { get; set; }

Property Value

IDigitalOutput

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler