ToolboxService.IToolboxService.SetCursor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.