ToolboxItemDiscoveryContext Enum

Definition

Indicates the context in which GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) is being called.

C++/CX
public enum class ToolboxItemDiscoveryContext
Inheritance
ToolboxItemDiscoveryContext

Fields

Name Value Description
AutoAddingToToolbox 0

If GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) returns non-null, the item will be automatically added to the toolbox.

ListingAddableItems 1

If GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) returns non-null, the item will be added to a list of types in the Choose Toolbox Items dialog which the user may add to the toolbox.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022