ElementListCompartment.HandleNewListItemInsertion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new list item based on the currently selected item. If none is selected, then uses the default type. Then adds the new item into the Items list and automatically sets it to start editing that item.
public:
virtual void HandleNewListItemInsertion(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ selectedDomainClassInfo);
public virtual void HandleNewListItemInsertion (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, Microsoft.VisualStudio.Modeling.DomainClassInfo selectedDomainClassInfo);
abstract member HandleNewListItemInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo -> unit
override this.HandleNewListItemInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo -> unit
Public Overridable Sub HandleNewListItemInsertion (view As DiagramClientView, selectedDomainClassInfo As DomainClassInfo)
Parameters
- view
- DiagramClientView
Current view we're working with.
- selectedDomainClassInfo
- DomainClassInfo
Select element's DomainClassInfo to create.