The name of the cursor to display when using the toolbar item with the map or layout. If not specified, the cursor is automatically set based on the client action (crosshair for DragRectangle action, pointer for Point action, etc.). Note that the default tools in the Toolbar (ZoomIn, etc.) do not specify a cursor, instead using the default cursor for the client action.
If set, the value may be any valid CSS value for cursor, such as crosshair, pointer, move, or text.
Syntax
Visual Basic (Declaration) | |
---|
<DefaultValueAttribute()>
<ResCategoryAttribute("General")>
<ResDescriptionAttribute("The cursor to display when using the toolbar item, e.g. "crosshair". If this is not set, then a default cursor is chosen based on the client action.")>
<NotifyParentPropertyAttribute(True)>
Public Property Cursor As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Tool
Dim value As String
instance.Cursor = value
value = instance.Cursor |
C# | |
---|
[DefaultValueAttribute()]
[ResCategoryAttribute("General")]
[ResDescriptionAttribute("The cursor to display when using the toolbar item, e.g. "crosshair". If this is not set, then a default cursor is chosen based on the client action.")]
[NotifyParentPropertyAttribute(true)]
public string Cursor {get; set;} |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also