using System.Windows; using System.Windows.Controls; using RGB.NET.Core; namespace RGB.NET.WPF.Controls { /// /// Visualizes a in an wpf-application. /// public class LedVisualizer : Control { #region DependencyProperties // ReSharper disable InconsistentNaming /// /// Backing-property for the -property. /// public static readonly DependencyProperty LedProperty = DependencyProperty.Register( "Led", typeof(Led), typeof(LedVisualizer), new PropertyMetadata(default(Led))); /// /// Gets or sets the to visualize. /// public Led Led { get => (Led)GetValue(LedProperty); set => SetValue(LedProperty, value); } // ReSharper restore InconsistentNaming #endregion } }