/ src / settings-ui / Settings.UI.Library / HotkeyConflicts / HotkeyConflictGroupData.cs
HotkeyConflictGroupData.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Collections.Generic;
 6  
 7  namespace Microsoft.PowerToys.Settings.UI.Library.HotkeyConflicts
 8  {
 9      public class HotkeyConflictGroupData
10      {
11          public HotkeyData Hotkey { get; set; }
12  
13          public bool IsSystemConflict { get; set; }
14  
15          public bool ConflictIgnored { get; set; }
16  
17          public bool ConflictVisible => !ConflictIgnored;
18  
19          public bool ShouldShowSysConflict => !ConflictIgnored && IsSystemConflict;
20  
21          public List<ModuleHotkeyData> Modules { get; set; }
22      }
23  }