This topic has not yet been rated - Rate this topic

UserPreferenceCategory Enumeration

Defines identifiers that represent categories of user preferences.

Namespace:  Microsoft.Win32
Assembly:  System (in System.dll)
public enum UserPreferenceCategory
Member name Description
Accessibility Indicates user preferences associated with accessibility features of the system for users with disabilities.
Color Indicates user preferences associated with system colors. This category includes such as the default color of windows or menus.
Desktop Indicates user preferences associated with the system desktop. This category includes the background image or background image layout of the desktop.
General Indicates user preferences that are not associated with any other category.
Icon Indicates user preferences for icon settings, including icon height and spacing.
Keyboard Indicates user preferences for keyboard settings, such as the key down repeat rate and delay.
Menu Indicates user preferences for menu settings, such as menu delays and text alignment.
Mouse Indicates user preferences for mouse settings, such as double-click time and mouse sensitivity.
Policy Indicates user preferences for policy settings, such as user rights and access levels.
Power Indicates 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.
Screensaver Indicates user preferences associated with the screensaver.
Window Indicates user preferences associated with the dimensions and characteristics of windows on the system.
Locale Indicates changes in user preferences for regional settings, such as the character encoding and culture strings.
VisualStyle Indicates 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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ