Edit

Share via


ToolboxService.IToolboxService.SetCursor Method

Definition

Sets the current application's cursor to a cursor that represents the currently selected tool.

 virtual bool System.Drawing.Design.IToolboxService.SetCursor() = System::Drawing::Design::IToolboxService::SetCursor;
bool IToolboxService.SetCursor ();
abstract member System.Drawing.Design.IToolboxService.SetCursor : unit -> bool
override this.System.Drawing.Design.IToolboxService.SetCursor : unit -> bool
Function SetCursor () As Boolean Implements IToolboxService.SetCursor

Returns

true if the cursor is set by the currently selected tool; false if there is no tool selected and the cursor is set to the standard Windows cursor.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

Applies to