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 class 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.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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