Gets or sets the cursor that is displayed when the mouse pointer is resting on a line or shape control.
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Assign a Cursor to the Cursor property of the control to change the cursor that is displayed when the mouse pointer is resting on the control.
The Cursor property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control or form. For example, an OvalShape control will have the same Cursor as its parent Form by default.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.