Freigeben über


ElementListCompartmentMapping Class

Definition

A mapping for ListCompartments that knows about the relationship that's being modeled in the compartment, and the property that's being displayed in the list.

public ref class ElementListCompartmentMapping : Microsoft::VisualStudio::Modeling::Diagrams::CompartmentMapping
public class ElementListCompartmentMapping : Microsoft.VisualStudio.Modeling.Diagrams.CompartmentMapping
type ElementListCompartmentMapping = class
    inherit CompartmentMapping
Public Class ElementListCompartmentMapping
Inherits CompartmentMapping
Inheritance
ElementListCompartmentMapping

Constructors

ElementListCompartmentMapping(String, Guid, ElementListGetter, DisplayStringGetter, DisplayImageGetter)

Constructor for a mapping that does not use a domain property but uses a fully custom string for display name.

ElementListCompartmentMapping(String, Guid, Guid, ElementListGetter, PropertyElementGetter, DisplayStringGetter, DisplayImageGetter)

Constructor that takes all of the initial values.

Properties

CompartmentId

Gets or sets the Compartment identifier.

(Inherited from CompartmentMapping)
DefaultDomainClassId

Gets or sets the DomainClassId of the default type of item that will get created and added to the appropriate list.

ElementListGetter

Get/Set the element list delegate

ImageGetter

Get/Set the line item image delegate

PropertyElementGetter

Get/Set the property element delegate

PropertyId

Gets or sets the PropertyId for the ElementListCompartment's display item.

StringGetter

Get/Set the line item text delegate

Methods

InitializeCompartment(Compartment)

Initialize the compartment from its mapping data.

InitializeCompartmentShape(CompartmentShape)

Update the compartment specified by this mapping with the value specified by this mapping from the object model

(Inherited from CompartmentMapping)

Applies to