Gets or sets the cursor that is displayed when the mouse pointer is over the Map control.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Property Cursor As String
C#
public string Cursor { get; set; }
C++
public property string Cursor sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_Cursor();

/** property */
public void set_Cursor(string value);
JScript
public function get Cursor() : String

public function set Cursor(value : String);

Remarks

This property specifies the type of cursor to be displayed for the Map control. Values have the following meanings:

default
The platform-dependent default cursor. Often rendered as an arrow.
crosshair
A simple crosshair.
pointer
The cursor is a pointer that indicates a link.
move
Indicates something is to be moved.
help
Help is available for the object under the cursor. Often rendered as a question mark or a balloon.

The full list of all possible cursor types is available at http://www.w3.org/TR/CSS21/ui.html.

If an empty string is specified, the Map control will use default cursor types depending on the currently selected map tool.

See Also