CursorType 枚举

定义

指定内置光标类型。Specifies the built in cursor types.

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

字段

AppStarting 3

带小型沙漏光标的标准箭头。A standard arrow with small hourglass cursor.

Arrow 2

标准箭头光标。A standard arrow cursor.

ArrowCD 27

箭头 CD 光标。An arrow cd cursor.

Cross 4

十字线光标。A crosshair cursor.

Hand 14

手形光标。A hand cursor.

Help 5

帮助光标。A help cursor.

IBeam 6

文本 I 型光标。A text I-Beam cursor.

No 1

不显示光标。No cursor.

None 0

一个指示不应显示光标的值。A value indicating that no cursor should be displayed.

Pen 15

笔形光标。A pen cursor.

ScrollAll 18

其箭头指向上下左右的滚动光标。A scrolling cursor with arrows pointing north, south, east, and west.

ScrollE 22

其箭头指向右的滚动光标。A scrolling cursor with an arrow pointing east.

ScrollN 19

其箭头指向上方的滚动光标。A scrolling cursor with an arrow pointing north.

ScrollNE 24

其箭头指向上方和右方的滚动光标。A scrolling cursor with arrows pointing north and east.

ScrollNS 16

其箭头指向上方和下方的滚动光标。A scrolling cursor with arrows pointing north and south.

ScrollNW 23

其箭头指向上方和左方的滚动光标。A scrolling cursor with arrows pointing north and west.

ScrollS 20

其箭头指向下方的滚动光标。A scrolling cursor with an arrow pointing south.

ScrollSE 26

其箭头指向下方和右方的滚动光标。A scrolling cursor with arrows pointing south and east.

ScrollSW 25

其箭头指向下方和左方的滚动光标。A scrolling cursor with arrows pointing south and west.

ScrollW 21

其箭头指向左的滚动光标。A scrolling cursor with an arrow pointing west.

ScrollWE 17

其箭头指向左和右的滚动光标。A scrolling cursor with arrows pointing west and east.

SizeAll 7

其箭头指向上下左右的光标。A cursor with arrows pointing north, south, east, and west.

SizeNESW 8

其箭头指向右上方和左下方的光标。A cursor with arrows pointing northeast and southwest.

SizeNS 9

其箭头指向上方和下方的光标。A cursor with arrows pointing north and south.

SizeNWSE 10

其箭头指向左上方和右下方的光标。A cursor with arrows pointing northwest and southeast.

SizeWE 11

其箭头指向左和右的光标。A cursor with arrows pointing west and east.

UpArrow 12

垂直箭头光标。A vertical arrow cursor.

Wait 13

沙漏光标An hourglass cursor.

注解

CursorType主要用于可扩展应用程序标记语言 (XAML)Extensible Application Markup Language (XAML)指定游标。CursorType is mostly used in 可扩展应用程序标记语言 (XAML)Extensible Application Markup Language (XAML) to specify the cursor. 在代码中, 应使用Cursors类。In code, you should use the Cursors class.

适用于

另请参阅