<PackageReference Include="Microsoft.Win32.SystemEvents" Version="10.0.0-preview.2.25163.2" />

UserPreferenceChangedEventArgs

Provides data for the UserPreferenceChanged event.
using System; namespace Microsoft.Win32 { public class UserPreferenceChangedEventArgs : EventArgs { public UserPreferenceCategory Category { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } } public UserPreferenceChangedEventArgs(UserPreferenceCategory category) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } } }