ESRI.ArcGIS.ADF.Web.UI.WebControls
Cursor Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Tool Class : Cursor Property




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()>
<NotifyParentPropertyAttribute(True)>
<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.")>
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()]
[NotifyParentPropertyAttribute(true)]
[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.")]
public string Cursor {get; set;}

See Also

© 2010 All Rights Reserved.