using System.Collections.Generic; using System.Collections.ObjectModel; using System.Drawing; using CUE.NET.Devices.Keyboard.Extensions; namespace CUE.NET.Devices.Keyboard.Keys { public class BaseKeyGroup : IKeyGroup { #region Properties & Fields internal CorsairKeyboard Keyboard { get; } public IEnumerable Keys => new ReadOnlyCollection(GroupKeys); protected IList GroupKeys { get; } = new List(); public Color Color { get; set; } = Color.Transparent; #endregion #region Constructors protected BaseKeyGroup(CorsairKeyboard keyboard, bool autoAttach = true) { this.Keyboard = keyboard; if (autoAttach) this.Attach(); } #endregion } }