Redigera

Dela via


DocumentDesigner.IToolboxUser.GetToolSupported(ToolboxItem) Method

Definition

For a description of this member, see GetToolSupported(ToolboxItem).

 virtual bool System.Drawing.Design.IToolboxUser.GetToolSupported(System::Drawing::Design::ToolboxItem ^ tool) = System::Drawing::Design::IToolboxUser::GetToolSupported;
bool IToolboxUser.GetToolSupported (System.Drawing.Design.ToolboxItem tool);
abstract member System.Drawing.Design.IToolboxUser.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
override this.System.Drawing.Design.IToolboxUser.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
Function GetToolSupported (tool As ToolboxItem) As Boolean Implements IToolboxUser.GetToolSupported

Parameters

tool
ToolboxItem

The ToolboxItem to be tested for toolbox support.

Returns

true if the tool is supported by the toolbox and can be enabled; false if the document designer does not know how to use the tool.

Implements

Remarks

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

Applies to