ToolStrip::Cursor Property

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property Cursor^ Cursor {
	virtual Cursor^ get() override;
	virtual void set(Cursor^ value) override;
}

Property Value

Type: System.Windows.Forms::Cursor^

A Cursor that represents the cursor to display when the mouse pointer is over the ToolStrip.

Use the Cursor property to get or set a specific Cursor used with the ToolStrip.

The following code example demonstrates the syntax for setting common ToolStrip properties, including the Cursor property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: