Class DigitalOutput
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
IsFlashingProperty
Identifies the IsFlashing dependency property.
public static readonly DependencyProperty IsFlashingProperty
Field Value
IsReadonlyProperty
Identifies the IsReadonly dependency property.
public static readonly DependencyProperty IsReadonlyProperty
Field Value
SourceProperty
Identifies the Source dependency property.
public static readonly DependencyProperty SourceProperty
Field Value
Properties
AdditionalText
Gets the additional text.
public string AdditionalText { get; }
Property Value
IndicatorColor
Gets or sets the indicator color. Default is Red.
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
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
MainText
Gets the main text.
public string MainText { get; }
Property Value
Source
Gets or sets the source.
public IDigitalOutput Source { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged