ElementListCompartmentMapping 类

定义

ListCompartments 的映射,该映射知道在隔离舱中建模的关系以及列表中显示的属性。

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
继承
ElementListCompartmentMapping

构造函数

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

映射的构造函数,该构造函数不使用域属性,但使用完全自定义字符串作为显示名称。

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

采用所有初始值的构造函数。

属性

CompartmentId

获取或设置隔离舱标识符。

(继承自 CompartmentMapping)
DefaultDomainClassId

获取或设置将创建并添加到相应列表的项的默认类型的 DomainClassId。

ElementListGetter

获取/设置元素列表委托

ImageGetter

获取/设置行项图像委托

PropertyElementGetter

获取/设置属性元素委托

PropertyId

获取或设置 Microsoft.visualstudio.modeling.diagrams.elementlistcompartment 的显示项的 PropertyId。

StringGetter

获取/设置行项文本委托

方法

InitializeCompartment(Compartment)

从其映射数据初始化隔离舱。

InitializeCompartmentShape(CompartmentShape)

使用从对象模型中的此映射指定的值更新此映射指定的隔离舱

(继承自 CompartmentMapping)

适用于