UserPreferenceCategory 枚举

定义

定义表示用户首选项类别的标识符。Defines identifiers that represent categories of user preferences.

public enum class UserPreferenceCategory
public enum UserPreferenceCategory
type UserPreferenceCategory = 
Public Enum UserPreferenceCategory
继承
UserPreferenceCategory

字段

Accessibility 1

指示与供残障人士使用的系统辅助功能关联的用户首选项。Indicates user preferences associated with accessibility features of the system for users with disabilities.

Color 2

指示与系统颜色关联的用户首选项。Indicates user preferences associated with system colors. 此类别包括像窗口或菜单的默认颜色这样的选项。This category includes such as the default color of windows or menus.

Desktop 3

指示与系统桌面关联的用户首选项。Indicates user preferences associated with the system desktop. 此类别包括桌面的背景图像或背景图像布局。This category includes the background image or background image layout of the desktop.

General 4

指示不与任何其他类别关联的用户首选项。Indicates user preferences that are not associated with any other category.

Icon 5

指示图标设置的用户首选项,包括图标高度和图标间距。Indicates user preferences for icon settings, including icon height and spacing.

Keyboard 6

指示键盘设置的用户首选项,例如,按下键的重复速率和延迟时间。Indicates user preferences for keyboard settings, such as the key down repeat rate and delay.

Locale 13

指示对于区域设置(如字符编码和区域性字符串)的用户首选项更改。Indicates changes in user preferences for regional settings, such as the character encoding and culture strings.

Menu 7

指示菜单设置的用户首选项,例如,菜单延迟和文本对齐方式。Indicates user preferences for menu settings, such as menu delays and text alignment.

Mouse 8

指示鼠标设置的用户首选项,例如,双击时间和鼠标灵敏度。Indicates user preferences for mouse settings, such as double-click time and mouse sensitivity.

Policy 9

指示策略设置的用户首选项,例如,用户权限和访问级别。Indicates user preferences for policy settings, such as user rights and access levels.

Power 10

指示系统电源设置的用户首选项。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 11

指示与屏幕保护程序关联的用户首选项。Indicates user preferences associated with the screensaver.

VisualStyle 14

指示与视觉样式关联的用户首选项,例如,启用或禁用视觉样式,以及从一种视觉样式切换到另一种视觉样式。Indicates user preferences associated with visual styles, such as enabling or disabling visual styles and switching from one visual style to another.

Window 12

指示与系统窗口的尺寸和特性关联的用户首选项。Indicates user preferences associated with the dimensions and characteristics of windows on the system.

注解

UserPreferenceCategory提供可以表示用户首选项类别的标识符。UserPreferenceCategory provides identifiers that can represent a category of user preferences.

可以使用 Windows "控制面板"、"计算机管理" 控制台或使用适当的 API 以编程方式更改这些类别中的某些用户首选项。Some of the user preferences in these categories can be changed using the Windows Control Panel, the Computer Management console, or programmatically using an appropriate API.

适用于

另请参阅