<PackageReference Include="Microsoft.Win32.SystemEvents" Version="9.0.10" />

UserPreferenceChangingEventArgs

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