Dela via


Tool.Cursor Property

Gets or sets the default cursor for the mouse.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Property Cursor As Cursor
'Usage
Dim instance As Tool 
Dim value As Cursor 

value = instance.Cursor

instance.Cursor = value
public Cursor Cursor { get; set; }
public:
property Cursor^ Cursor {
    Cursor^ get ();
    void set (Cursor^ value);
}
public function get Cursor () : Cursor 
public function set Cursor (value : Cursor)

Property Value

Type: System.Windows.Input.Cursor
A Cursor for the mouse.

Remarks

The Cursor property may return the cursor offered by the active task, if one exists.

.NET Framework Security

See Also

Reference

Tool Class

Tool Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility Architecture