Click or drag to resize
IElementAdderMenuBuilderTContext Methods

The IElementAdderMenuBuilderTContext generic type exposes the following members.

Methods
  NameDescription
Public methodAddCustomCommand
Adds a custom command to the menu.
Public methodAddTypeFilter
Adds a filter function which determines whether types can be included or whether they need to be excluded.
Public methodGetMenu
Builds and returns a new IElementAdderMenu instance.
Public methodSetContractType
Sets contract type of the elements that can be included in the IElementAdderMenu. Only non-abstract class types that are assignable from the contractType will be included in the built menu.
Public methodSetElementAdder
Public methodSetTypeDisplayNameFormatter
Set the function that formats the display of type names in the user interface.
Top
See Also