IElementAdderMenuBuilder(TContext) Methods

Rotorz ReorderableList

IElementAdderMenuBuilderTContext Methods

The IElementAdderMenuBuilderTContext generic type exposes the following members.

Methods
  Name Description
Public method AddCustomCommand
Adds a custom command to the menu.
Public method AddTypeFilter
Adds a filter function which determines whether types can be included or whether they need to be excluded.
Public method GetMenu
Builds and returns a new IElementAdderMenu instance.
Public method SetContractType
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 method SetElementAdder
Set the IElementAdderTContext implementation which is used when adding new elements to the context object.
Public method SetTypeDisplayNameFormatter
Set the function that formats the display of type names in the user interface.
Top
See Also