using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Media; namespace Tango.Visuals.Components { internal class VULed : DependencyObject { public bool On { get { return (bool)GetValue(OnProperty); } set { SetValue(OnProperty, value); } } public static readonly DependencyProperty OnProperty = DependencyProperty.Register("On", typeof(bool), typeof(VULed), new PropertyMetadata(false)); public Brush Brush { get { return (Brush)GetValue(BrushProperty); } set { SetValue(BrushProperty, value); } } public static readonly DependencyProperty BrushProperty = DependencyProperty.Register("Brush", typeof(Brush), typeof(VULed), new PropertyMetadata(Brushes.Red)); } }