| File: Microsoft\Win32\UserPreferenceChangingEventArgs.cs | Web Access |
| Project: src\runtime\src\libraries\Microsoft.Win32.SystemEvents\src\Microsoft.Win32.SystemEvents.csproj (Microsoft.Win32.SystemEvents) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; namespace Microsoft.Win32 { /// <devdoc> /// <para>Provides data for the <see cref='Microsoft.Win32.SystemEvents.UserPreferenceChanging'/> event.</para> /// </devdoc> public class UserPreferenceChangingEventArgs : EventArgs { private readonly UserPreferenceCategory _category; /// <devdoc> /// <para>Initializes a new instance of the <see cref='Microsoft.Win32.UserPreferenceChangingEventArgs'/> class.</para> /// </devdoc> public UserPreferenceChangingEventArgs(UserPreferenceCategory category) { _category = category; } /// <devdoc> /// <para>Gets the category of user preferences that has Changing.</para> /// </devdoc> public UserPreferenceCategory Category { get { return _category; } } } }