Class DigitalInput
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
IsFlashingProperty
Identifies the IsFlashing dependency property.
public static readonly DependencyProperty IsFlashingProperty
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 Green.
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
MainText
Gets the main text.
public string MainText { get; }
Property Value
Source
Gets or sets the source.
public IDigitalInput Source { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged