This documentation is archived and is not being maintained.

UserPreferenceCategory Enumeration

Defines identifiers that represent categories of user preferences.

Namespace:  Microsoft.Win32
Assembly:  System (in System.dll)

public enum UserPreferenceCategory

Member nameDescription
AccessibilityIndicates user preferences associated with accessibility features of the system for users with disabilities.
ColorIndicates user preferences associated with system colors. This category includes such as the default color of windows or menus.
DesktopIndicates user preferences associated with the system desktop. This category includes the background image or background image layout of the desktop.
GeneralIndicates user preferences that are not associated with any other category.
IconIndicates user preferences for icon settings, including icon height and spacing.
KeyboardIndicates user preferences for keyboard settings, such as the key down repeat rate and delay.
MenuIndicates user preferences for menu settings, such as menu delays and text alignment.
MouseIndicates user preferences for mouse settings, such as double-click time and mouse sensitivity.
PolicyIndicates user preferences for policy settings, such as user rights and access levels.
PowerIndicates the user preferences for system power settings. This category includes power feature settings, such as the idle time before the system automatically enters low power mode.
ScreensaverIndicates user preferences associated with the screensaver.
WindowIndicates user preferences associated with the dimensions and characteristics of windows on the system.
LocaleIndicates changes in user preferences for regional settings, such as the character encoding and culture strings.
VisualStyleIndicates user preferences associated with visual styles, such as enabling or disabling visual styles and switching from one visual style to another.

UserPreferenceCategory provides identifiers that can represent a category of user preferences.

Some of the user preferences in these categories can be changed using the Windows Control Panel, the Computer Management console, or programatically using an appropriate API.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0