ToolboxService.SelectedItemContainerUsed 方法

定义

当用户报告已使用了选定的工具箱项时,接收来自工具箱服务的调用。Receives a call from the toolbox service when a user reports that a selected toolbox item has been used.

protected:
 virtual void SelectedItemContainerUsed();
protected virtual void SelectedItemContainerUsed ();
abstract member SelectedItemContainerUsed : unit -> unit
override this.SelectedItemContainerUsed : unit -> unit
Protected Overridable Sub SelectedItemContainerUsed ()

注解

SelectedItemContainerUsed当用户报告已使用所选的工具箱项时,工具箱服务将调用方法。The SelectedItemContainerUsed method is called by the toolbox service when a user reports that the selected toolbox item has been used. 调用工具箱项后,它是一个常见的用户界面, (UI) 行为来取消选择该工具箱项。After invoking a toolbox item, it is a common user interface (UI) behavior to cancel the selection of that toolbox item. 此方法的默认实现通过将选定的项容器设置为取消选择工具箱项 nullThe default implementation of this method cancels the selection of the toolbox item by setting the selected item container to null.

适用于