閱讀英文 編輯

共用方式為


UICues Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies the state of the user interface.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum UICues
Inheritance
Attributes

Fields

Name Value Description
None 0

No change was made.

ShowFocus 1

Focus rectangles are displayed after the change.

ShowKeyboard 2

Keyboard cues are underlined after the change.

Shown 3

Focus rectangles are displayed and keyboard cues are underlined after the change.

ChangeFocus 4

The state of the focus cues has changed.

ChangeKeyboard 8

The state of the keyboard cues has changed.

Changed 12

The state of the focus cues and keyboard cues has changed.

Remarks

This enumeration is used by members such as the constructor for UICuesEventArgs.

This enumeration is used to specify which user interface cues will be displayed or changed. For example, when the user presses the ALT key, the keyboard shortcuts on the menu are displayed by underlining the appropriate character. The bitwise combination of UICues for this example would be ShowKeyboard and ChangeKeyboard.

Applies to

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also