BinaryLinkShape 类

定义

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

public ref class BinaryLinkShape abstract : Microsoft::VisualStudio::Modeling::Diagrams::BinaryLinkShapeBase
[System.CLSCompliant(true)]
public abstract class BinaryLinkShape : Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeBase
[<System.CLSCompliant(true)>]
type BinaryLinkShape = class
    inherit BinaryLinkShapeBase
Public MustInherit Class BinaryLinkShape
Inherits BinaryLinkShapeBase
继承
派生
属性

构造函数

BinaryLinkShape(Partition, PropertyAssignment[])

构造函数。

属性

AbsoluteBoundingBox

相对于关系图左上角的边框。

(继承自 LinkShape)
AbsoluteBoundingBoxToEnsureVisible

获取 EnsureVisible 将使用的边框。 矩形与 AbsoluteBoundingBox 相同,但当宽度为非零时,高度调整为非零。 这样做是因为对于单段链接,高度默认为 0,即使真正选择了链接,也可能导致选择边界返回为“空”。

(继承自 LinkShape)
AbsoluteCenter

获取相对于关系图左上角的 ShapeElement 的绝对边界的中心,而不考虑父 ShapeElement。

(继承自 ShapeElement)
AccessibilityObject

获取分配给 元素的 AccessibleObject

(继承自 ShapeElement)
AccessibleDefaultActionDescription

获取可供辅助功能客户端应用程序使用的 元素的默认操作说明

(继承自 ShapeElement)
AccessibleDescription

获取辅助功能客户端应用程序使用的元素的说明

(继承自 ShapeElement)
AccessibleHelp

获取元素的作用或元素的使用方式的说明。

(继承自 ShapeElement)
AccessibleHelpTopicFileName

获取与此元素关联的帮助文件的路径。

(继承自 ShapeElement)
AccessibleHelpTopicId

获取与此元素关联的帮助主题标识符。

(继承自 ShapeElement)
AccessibleName

返回向辅助功能客户端公开的此形状的名称。

(继承自 BinaryLinkShapeBase)
AccessibleRole

获取控件的辅助角色

(继承自 ShapeElement)
AccessibleState

获取模型元素的可访问状态

(继承自 ShapeElement)
AccessibleValue

获取此元素的可访问值。

(继承自 ShapeElement)
AllowsChildrenInSelection

获取是否允许此形状的子级在此父级所在的同一选择组中。

(继承自 ShapeElement)
AllowsChildrenToResizeParent

获取一个值,该值确定是否允许子形状调整此形状的大小。

(继承自 ShapeElement)
AllowsChildrenToShrinkParent

获取一个值,该值确定此形状是否可以通过对其嵌套子项的更改来收缩和增长。

(继承自 ShapeElement)
AnchorBothEnds

当我们真正做事时,如何锚定。 CD 通常希望定位两端,但如果线条为两个指针,则只希望定位一端。

(继承自 BinaryLinkShapeBase)
BackgroundBrushId

获取将用于填充几何背景的画笔资源 ID。

(继承自 ShapeElement)
BoundingBox

相对于此形状父级的左上角的边框。

(继承自 LinkShape)
CanFocus

获取一个值,该值指示 ShapeElement 是否可以接收焦点。

(继承自 ShapeElement)
CanManuallyRoute

获取一个值,该值指示是否允许用户手动路由此 LinkShape。

(继承自 LinkShape)
CanMove

获取一个值,该值指示是否允许用户重新定位形状。

(继承自 LinkShape)
CanMoveAnchorPoints

获取一个值,该值指示是否允许用户移动此 LinkShape 的终结点。

(继承自 LinkShape)
CanSelect

获取一个值,该值指示是否允许用户选择 ShapeElement。

(继承自 ShapeElement)
Center

获取 ShapeElement 边界的中心点。

(继承自 ShapeElement)
ClassStyleSet

获取在此类的所有实例之间共享的样式集。

(继承自 ShapeElement)
ClipWhenDrawingFields

获取一个值,该值指示在绘制其子 ShapeFields 时,剪裁区域是否应设置为此形状的边界框。

(继承自 ShapeElement)
DecoratorFrom

获取或设置关系从末尾的修饰器。

(继承自 BinaryLinkShapeBase)
Decorators

此类型形状的修饰器的集合。 如果此类型没有修饰器,则返回 null。 默认情况下,形状没有修饰器。

(继承自 ShapeElement)
DecoratorsSize

修饰器的总大小 - UI 失效计算所需的

(继承自 BinaryLinkShapeBase)
DecoratorTo

获取或设置关系到末尾的修饰器。

(继承自 BinaryLinkShapeBase)
DefaultRoutingStyle

指定要使用的默认路由样式

(继承自 LinkShape)
DefaultShapeField

获取可接收焦点的第一个 ShapeField。 当 ShapeElement 具有焦点且 ShapeElement 不响应关键事件时,返回的字段应用作接收关键事件的默认形状字段。

(继承自 ShapeElement)
DefaultSize

获取 ShapeElement 的默认大小(以世界单位为单位)。

(继承自 ShapeElement)
Diagram

获取此 ShapeElement 所属的关系图。 (可以为 null.)

(继承自 ShapeElement)
EdgePoints

获取或设置 EdgePoints 域属性的值。 Microsoft.VisualStudio.Modeling.Diagrams.LinkShape.Edge Points 的说明

(继承自 LinkShape)
EdgePointsNoJumps

获取没有跳跃的世界单位的边缘点

(继承自 LinkShape)
EndSegmentBreakFactor

获取在断开 LinkShape 的结束段时要使用的因子。

(继承自 LinkShape)
EnsureVisiblePreference

此 Shape 的 EnsureVisible 方法的首选项。 默认值为返回承载此形状的图表的 VisiblePreference。

(继承自 ShapeElement)
Events

返回附加到此 ShapeElement 的事件处理程序列表。

(继承自 ShapeElement)
ExcludePath

获取/设置图形路径 这是 BinaryLinkShape 类的单一实例。 请勿释放。 立即使用。 如果需要其他路径,请使用克隆!

(继承自 BinaryLinkShapeBase)
FixedFrom

获取或设置 FixedFrom 域属性的值。 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.Fixed From 的说明

(继承自 BinaryLinkShapeBase)
FixedTo

获取或设置 FixedTo 域属性的值。 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.Fixed To 的说明

(继承自 BinaryLinkShapeBase)
FromEndPoint

获取/设置边缘的自点。

(继承自 BinaryLinkShapeBase)
FromLinkConnectsToNode

获取关系“从”末尾的 ElementLink。

(继承自 BinaryLinkShapeBase)
FromShape

获取关系从末尾的 NodeShape。

(继承自 BinaryLinkShapeBase)
GeometryBackgroundBrushId

获取将用于填充几何背景的画笔资源 ID。

(继承自 ShapeElement)
GeometryBoundingBox

获取几何图形的边界框。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
GeometryCanManuallyRoute

获取一个值,该值指示是否允许用户手动路由此 LinkShape。 (仅由 ShapeGeometry 派生类调用 )

(继承自 BinaryLinkShapeBase)
GeometryDecoratorFrom

获取链接“from”末尾的 LinkDecorator。 (仅由 ShapeGeometry 派生类调用 )

(继承自 BinaryLinkShapeBase)
GeometryDecoratorFromSize

获取关系从末尾的修饰器的大小。

(继承自 BinaryLinkShapeBase)
GeometryDecoratorTo

获取链接“to”末尾的 LinkDecorator。 (仅由 ShapeGeometry 派生类调用 )

(继承自 BinaryLinkShapeBase)
GeometryDecoratorToSize

获取关系到末尾的修饰器的大小。

(继承自 BinaryLinkShapeBase)
GeometryEdgePoints

获取仅由 ShapeGeometry 派生类调用的世界单位 (边缘点 )

(继承自 BinaryLinkShapeBase)
GeometryEdgePointsNoJumps

获取没有跳跃的世界单位的边缘点 (仅由 ShapeGeometry 派生类调用 )

(继承自 BinaryLinkShapeBase)
GeometryHasFilledBackground

获取一个值,该值指示是否将填充几何图形的背景。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
GeometryHasOutline

获取一个值,该值指示是否绘制几何图形的轮廓。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
GeometryHasShadow

获取一个值,该值指示几何图形是否显示阴影。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
GeometryOutlinePenId

获取将用于绘制几何图形轮廓的笔资源 ID。

(继承自 ShapeElement)
GeometryStyleSet

获取要用于几何图形的样式集。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
GridSize

获取或设置此 LinkShape 所位于的网格的大小。

(继承自 LinkShape)
HasChildren

获取一个值,该值指示 ShapeElement 具有一个或多个具有相对关系或嵌套关系的 ShapeElement 子元素。

(继承自 ShapeElement)
HasCustomToolTip

返回此形状是否具有工具提示的自定义呈现

(继承自 ShapeElement)
HasDragOverToolTip

返回此形状是否支持拖动工具提示。

(继承自 ShapeElement)
HasFilledBackground

获取一个值,该值指示是否绘制形状的背景。

(继承自 ShapeElement)
HasHighlighting

获取一个值,该值指示是否绘制 ShapeElement 的突出显示

(继承自 ShapeElement)
HasOutline

获取一个值,该值指示是否绘制形状的轮廓。

(继承自 ShapeElement)
HasShadow

确定是否绘制形状的阴影

(继承自 LinkShape)
HasToolTip

获取/设置形状默认是否显示鼠标悬停工具提示

(继承自 ShapeElement)
Id

此元素的唯一标识符。

(继承自 ModelElement)
IsActive

如果元素当前在模型中处于活动状态,则返回 true;如果元素已被删除或正在删除,则返回 false。

(继承自 ModelElement)
IsDeleted

是否已从模型中删除元素。 (Deleted 元素不会立即销毁,因此撤消命令可以撤消删除 element.)

(继承自 ModelElement)
IsDeleting

是否已从模型中删除元素。 (Deleted 元素不会立即销毁,因此撤消命令可以撤消删除 element.)

(继承自 ModelElement)
IsDirected

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 BinaryLinkShapeBase)
IsNestedChild

获取一个值,该值指示此形状是其父形状的嵌套子级,而不是相对子级。 嵌套子项由其父形状剪裁,而相对子级则不剪裁。

(继承自 ShapeElement)
IsRelativeChild

获取一个值,该值指示此形状是其父级的相对子级,而不是嵌套子级。 嵌套子项由其父形状剪裁,而相对子级则不剪裁。

(继承自 ShapeElement)
IsVisible

获取此形状的可见性属性。

(继承自 ShapeElement)
LineAdjustAwayDefault

获取或设置一个值,该值指示当链接形状共享通用连接形状时,子链接形状的中间线段是否应尝试对齐。 中间行段是不包含任一 LinkShape 终结点的段。 此属性不影响此形状与同级形状的相关性;它仅适用于属于此形状的子级的链接形状。

(继承自 ShapeElement)
LineAffinityDefault

获取或设置一个值,该值指示当链接形状共享通用连接形状时,子链接形状的中间线段是否应尝试对齐。 中间行段是不包含任一 LinkShape 终结点的段。 此属性不影响此形状与同级形状的相关性;它仅适用于属于此形状的子级的链接形状。

(继承自 ShapeElement)
LineToLineClearance

获取或设置子链接形状之间的间距(以世界单位为单位)。 此属性不影响具有同级形状的此形状的行到行间距;它仅适用于属于此形状的子级的链接形状。 此值必须大于 1e-6。

(继承自 ShapeElement)
LineToNodeClearance

获取或设置子链接形状和子节点形状之间的间距(以世界单位为单位)。 此属性不影响具有同级形状的此形状的线到节点间距;它仅适用于属于此形状的子级的形状。 此值必须大于 1e-6。

(继承自 ShapeElement)
ManuallyRouted

获取或设置 ManuallyRouted 域属性的值。 Microsoft.VisualStudio.Modeling.Diagrams.LinkShape.Manually Routed 的说明

(继承自 LinkShape)
MaximumSize

获取 ShapeElement 的最大大小(以世界单位为单位)。

(继承自 ShapeElement)
MinimumSize

获取 ShapeElement 的最小大小(以世界单位为单位)。

(继承自 ShapeElement)
ModelElement

获取或设置与此演示元素关联的模型元素。

(继承自 PresentationElement)
NestedChildShapes

获取 NestedChildShapes 的列表。 Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes.ParentShape 的说明

(继承自 ShapeElement)
NestedShapesMargin

获取此 ShapeElement 的边界框外围与其嵌套节点形状之间的边距。 边距以世界单位为单位。 此边距是在此 ShapeElement 的外围上提供一个连接线可以路由的区域。

(继承自 ShapeElement)
Nodes

获取节点列表。 Microsoft.VisualStudio.Modeling.Diagrams.LinkConnectsToNode.Link 的说明

(继承自 LinkShape)
NodeToNodeClearance

获取或设置子节点形状之间的间距(以世界单位为单位)。 此属性不影响具有同级形状的此形状的节点到节点间隙;它仅适用于属于此形状的子级的节点形状。 此值必须大于 1e-6。

(继承自 ShapeElement)
OutlinePenId

获取将用于绘制几何图形轮廓的笔资源 ID。

(继承自 LinkShape)
OutlinePenWidth

获取以世界单位表示的轮廓笔宽度。 这对于为失效目的扩充 ShapeElement 边界矩形非常有用。

(继承自 ShapeElement)
PaintMoveableDecoratorSelectionLines

选择此形状时,是否为附加到此形状的每个可移动修饰器绘制一条选择线,如果已手动放置修饰器或调整其大小。 基实现返回 true。

(继承自 ShapeElement)
ParentLink

获取与父 ShapeElement 的关系。

(继承自 ShapeElement)
ParentShape

ParentShape DomainRole

(继承自 ShapeElement)
Partition

获取或设置包含此元素的 Partition 实例。

(继承自 ModelElement)
Perimeter

获取包含 ShapeElement 轮廓的图形路径,包括位于 ShapePath 外部的轮廓笔的粗细。 路径中的点以相对于父 ShapeElement 的世界单位表示。

(继承自 ShapeElement)
RelatedShapeToEmphasize

获取在选择此形状时应直观地向用户强调的相关 ShapeElement。 此外观与所选内容不同,并不指示已选择相关形状。 目的是将用户的注意力吸引到相关形状上,以帮助提供上下文。 如果不应强调形状,则此属性返回 null。

示例用法:用户可能不清楚标签与哪个形状相关联,因此,通过在选择标签时直观地强调标签的父形状,用户可以快速识别相关形状。

(继承自 ShapeElement)
RelativeChildShapes

获取 RelativeChildShapes 的列表。 Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes.ParentShape 的说明

(继承自 ShapeElement)
RouteJumpType

获取/设置跳线样式。

(继承自 LinkShape)
RoutingStyle

获取/设置路由样式。

(继承自 LinkShape)
ShapeFields

此类型形状的形状字段的集合。

(继承自 ShapeElement)
ShapeGeometry

LinkShape 的 ShapeGeometry 类。

(继承自 BinaryLinkShapeBase)
ShouldTryParentShapeForMergeOnToolboxDoubleClick

控制选中此 ShapeElement 并用户双击工具箱项时发生的情况。 默认情况下,如果 CanMerge () 此 ShapeElement 失败,则双击操作将访问此 ShapeElement 的 ParentShape 并再次尝试 CanMerge () 。 如果形状重写此方法以返回 false,则当 CanMerge () 失败时,工具箱双击将终止。

(继承自 ShapeElement)
Store

获取包含此元素的 Store 实例。

(继承自 ModelElement)
StyleSet

如果此 ShapeElement 有一个,则获取实例 StyleSet,否则获取 ClassStyleSet。

(继承自 ShapeElement)
Subject

获取或设置 Subject。 Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject.Presentation 的说明

(继承自 PresentationElement)
TargetRelationshipDomainClassId

存储目标元素链接域类 ID,该 ID 将用于反序列化,将二进制链接形状链接回元素链接。

TargetToolboxItemFilterAttributes

返回此形状的 ToolboxItemFilterAttribute 对象的集合。 这些属性用于确定工具箱中启用/禁用的项。 此处返回的集合将成为工具箱项必须匹配才能启用的集合的一部分。 若要定义属于工具箱项本身的集合,请将 ToolboxItemFilterAttribute () 应用于代表工具箱项的 ModelElement。

(继承自 ShapeElement)
ToEndPoint

获取/设置边缘指向的 。

(继承自 BinaryLinkShapeBase)
ToLinkConnectsToNode

获取关系到末尾的 ElementLink。

(继承自 BinaryLinkShapeBase)
ToShape

获取关系到末尾的 NodeShape。

(继承自 BinaryLinkShapeBase)
UserFixed

获取/设置边缘的 userFixed 标志。

(继承自 LinkShape)
ZOrder

获取此 ShapeElement 的相对 Z 顺序。 如果这是关系图,则这是用于重新编号的最新 z 顺序编号。

(继承自 ShapeElement)

方法

AccessibleDoDefaultAction()

执行与该辅助性对象相关的默认操作。

(继承自 ShapeElement)
Associate(ModelElement)

将此演示元素与其模型元素关联。

(继承自 PresentationElement)
CalculateDerivedVisible(ShapeElement)

如果父形状正确,则计算此形状的 DerivedVisible 值。

(继承自 BinaryLinkShapeBase)
CanMerge(ProtoElementBase, ElementGroupPrototype)

返回一个值,该值指示是否可以将指定的根 ProtoElement 表示的源元素添加到此元素。

(继承自 ModelElement)
ChooseMergeTarget(ElementGroup)

获取要用作 ElementGroup 合并过程目标的 ModelElement。
当此元素是合并的目标时,合并进程会调用此元素。
这为此元素提供了将目标更改为自身以外的其他内容的机会。

(继承自 ModelElement)
ChooseMergeTarget(ElementGroupPrototype)

获取要用作 ElementGroupPrototype 合并过程的目标的 ModelElement。
当此元素是合并的目标时,合并进程会调用此元素。
这为此元素提供了将目标更改为自身以外的其他内容的机会。

(继承自 ModelElement)
ChooseParentShape(ShapeElement)

由 ShapeElement.FixUpChildShapes () 调用,以确定哪个形状应是新子形状的父形状。 默认情况下,此 ShapeElement 将是父形状,但在某些情况下,可能有不同的形状。

(继承自 ShapeElement)
ChooseRelationship(ShapeElement)

由 ShapeElement.FixUpChildShapes () 调用,以获取子 ShapeElement 与其父级的关系类型。

(继承自 ShapeElement)
CoerceSelection(DiagramItem, DiagramClientView, Boolean)

允许形状更改所选项。 从选择操作调用。

(继承自 ShapeElement)
Connect(NodeShape, NodeShape)

创建连接两个指定 NodeShape 所需的 ElementLink 关系。 如果此 BinaryLinkShape 已在关系图上,则还要连接 GraphEdge。 如果没有,则在将 BinaryLinkShape 添加到关系图时,GraphEdge 会连接起来。

(继承自 BinaryLinkShapeBase)
Copy()

在模型中创建 元素的副本。

(继承自 ModelElement)
Copy(IEnumerable<Guid>)

在模型中创建 元素的副本。

(继承自 ModelElement)
CreateChildShape(ModelElement)

由 ShapeElement.FixUpChildShapes () 调用,以检索给定模型元素的子形状的新实例。

(继承自 ShapeElement)
CreateClassStyleSet()

为此 ShapeElement 创建类样式集

(继承自 ShapeElement)
CreateDecorators()

实例化此类型形状的修饰器集合。

(继承自 ShapeElement)
CreateInstanceStyleSet()

Create此实例的样式集。

(继承自 ShapeElement)
CreateShapeFields()

实例化此形状类型的形状字段集合。

(继承自 ShapeElement)
Delete()

从模型中删除 元素。

(继承自 ModelElement)
Delete(Guid[])

从模型中删除 元素。

(继承自 ModelElement)
DetermineHighlightShape(ShapeElement)

向上访问父形状链,直到找到已打开突出显示的形状,或者它已到达父链的顶部。

(继承自 ShapeElement)
Disconnect()

断开当前 LinkShape 与其两个连接的终结点的连接。

(继承自 BinaryLinkShapeBase)
DoFoldToShape(PointD, PointD)

计算给定向量将相交的 ShapeElement 外围的点

(继承自 ShapeElement)
DoHitTest(PointD, DiagramHitTestInfo)

在给定相对于图表的左上角世界单位的点的情况下执行命中测试。

(继承自 ShapeElement)
DoHitTest(PointD, DiagramHitTestInfo, Boolean)

在给定相对于图表的左上角世界单位的点的情况下执行命中测试。

(继承自 ShapeElement)
DoHitTestSelection(PointD, DiagramHitTestInfo)

对围绕 ShapeElement 的选定内容执行命中测试,给定相对于图表的左上角世界单位的点。

(继承自 ShapeElement)
DoKeyboardNavigation(Keys, DiagramClientView)

对形状调用相应的导航方法。

(继承自 ShapeElement)
DrawResizeFeedback(DiagramPaintEventArgs, RectangleD)

使用 ShapeElement 的给定绝对边界绘制 ShapeElement 的大小调整反馈。

(继承自 ShapeElement)
ExcludeFromClipRegion(Graphics, Matrix, GraphicsPath)

从指定 Graphics 对象中的剪裁区域中排除此形状及其端点形状。

(继承自 BinaryLinkShapeBase)
ExcludeGeometryFromClipRegion(Graphics, Matrix, GraphicsPath)

从剪裁区域中排除此几何图形,包括后代 IGeometryHost 对象的几何图形。 (仅由 ShapeGeometry 派生类调用 )

(继承自 ShapeElement)
FindDecorator(String)

查找具有给定名称的修饰器。

(继承自 ShapeElement)
FindFirstChild(Boolean)

由此 ShapeElement 调用以获取导航序列中的第一个后代。

由子 ShapeElement 或 ShapeField 调用,以获取此形状在导航序列中的第一个后代。

(继承自 ShapeElement)
FindFreeArea(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

在形状或图表的图形中查找可用区域。

(继承自 ShapeElement)
FindLastChild(Boolean)

由子 ShapeElement 或 ShapeField 调用,以获取此形状在导航序列中的最后一个后代。

(继承自 ShapeElement)
FindNextChild(DiagramItem, Boolean)

由子 ShapeElement 或 ShapeField 调用,以获取子级在导航序列中紧跟它的第一个同级项。

(继承自 ShapeElement)
FindNextInChildFields(ShapeField, Boolean)

查找指定 ShapeField 后面的第一个 DiagramItem。 搜索仅限于此形状的 ShapeField 集合,包括其子字段。

(继承自 ShapeElement)
FindPreviousChild(DiagramItem, Boolean)

由子 ShapeElement 或 ShapeField 调用,以获取导航序列中子项前面的第一个可聚焦同级项。

(继承自 ShapeElement)
FindPreviousInChildFields(ShapeField, Boolean)

查找指定 ShapeField 前面的第一个 DiagramItem。 搜索仅限于此形状的 ShapeField 集合,包括其子字段。

(继承自 ShapeElement)
FindShapeField(String)

返回 ShapeFields 集合中具有给定名称的第一个 ShapeField。 如果未找到具有给定名称的字段,此方法将返回 null。

(继承自 ShapeElement)
FixUpChildShapes(ModelElement)

由 Diagram.FixUpDiagram () 调用,以提供创建和/或配置子形状以响应将指定的子元素添加到模型的机会。

(继承自 ShapeElement)
Focused(DiagramClientView)

返回一个值,该值指示此形状是否在指定视图中聚焦。

(继承自 ShapeElement)
GetAccessibilityObject(DiagramClientView)

获取分配给 元素的 AccessibleObject

(继承自 ShapeElement)
GetChildElements(ModelElement)

由 ShapeElement.FixUpChildShapes () 调用,以获取被视为指定 ModelElement 子元素的 ModelElement 的集合。 返回的子元素应具有相应的形状类型,这些形状类型可以实例化为此 ShapeElement 的子形状。

(继承自 ShapeElement)
GetCursor(Cursor, DiagramClientView, PointD)

获取鼠标指针位于 ShapeElement 上时显示的光标。

(继承自 ShapeElement)
GetDomainClass()

获取此元素派生最多的域类。

(继承自 ModelElement)
GetDragOverToolTipText(DiagramItem)

返回鼠标拖过要显示的工具提示文本。

(继承自 ShapeElement)
GetEdgePointsValue()

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 LinkShape)
GetFieldAccessibleDescription(ShapeField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetFieldAccessibleName(ShapeField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetFieldAccessibleValue(ShapeField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetFieldRepresentedElement(ShapeField)

获取指定子 ShapeField 表示的主 ModelElement。

(继承自 ShapeElement)
GetFieldRepresentedProperty(ShapeField)

获取指定的 ShapeField 表示的属性信息。

(继承自 ShapeElement)
GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo)

检索应在此 (或下一个) MouseDown 事件(如果鼠标位于指定点上)上处于活动状态的鼠标操作。

(继承自 ShapeElement)
GetRoleCollection<TCollection,TElement>(Guid)

获取或创建链接元素集合

(继承自 ModelElement)
GetShapeLuminosity(DiagramClientView, Color)

根据当前颜色的亮度以及它是否在突出显示列表中计算形状的亮度。

(继承自 ShapeElement)
GetSubFieldAccessibleDescription(ShapeField, ShapeSubField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetSubFieldAccessibleName(ShapeField, ShapeSubField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetSubFieldAccessibleValue(ShapeField, ShapeSubField)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
GetSubFieldRepresentedElements(ShapeField, ShapeSubField)

获取指定的 ShapeSubField 表示的 ModelElements 集合。

(继承自 ShapeElement)
GetSubFieldRepresentedProperty(ShapeField, ShapeSubField)

获取与指定子字段关联的属性描述符。

(继承自 ShapeElement)
GetSubFieldRepresentedPropertyElements(ShapeField, ShapeSubField)

获取承载子字段显示的属性的元素。 这可能不同于 GetSubFieldRepresentedElements 返回的元素,因为 GetSubFieldRepresentedProperty 返回的实际 DomainPropertyInfo 可能托管在所表示元素的子元素中。

(继承自 ShapeElement)
GetToolTipText(DiagramItem)

获取光标下 PEL 元素的工具提示文本

(继承自 ShapeElement)
HasCachedDragOverResult(DiagramDragEventArgs)

如果缓存“拖过”结果,则返回 true。

(继承自 ShapeElement)
Hide()

隐藏 (使形状及其所有子级) 不可见

(继承自 ShapeElement)
HideCustomToolTip(IWin32Window)

隐藏形状的自定义工具提示

(继承自 ShapeElement)
InitializeDecorators(IList<ShapeField>, IList<Decorator>)

实例化并将形状字段 ((如文本和图像)) 添加到此形状类型。

(继承自 ShapeElement)
InitializeInstanceResources()

覆盖此 ShapeElement 实例的现有资源。 实例化实例样式集后调用此方法。 重写此方法可修改此 ShapeElement 实例的现有资源。

(继承自 ShapeElement)
InitializeResources(StyleSet)

为这种类型的 ShapeElement 添加新资源或替代现有资源。 在实例化类样式集后调用此方法。 重写此方法可添加新资源或修改此 ShapeElement 类型的现有资源。

(继承自 ShapeElement)
InitializeShapeFields(IList<ShapeField>)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ShapeElement)
Invalidate()

此方法将使链接符号失效,包括 (1) 超出形状边界的轮廓笔, (2) 链接线的修饰器。

(继承自 LinkShape)
Invalidate(Boolean)

使 ShapeElement 失效。

(继承自 ShapeElement)
Invalidate(RectangleD)

将指定矩形用作其绝对边界的 ShapeElement 失效。

(继承自 ShapeElement)
IsDescendantOf(ShapeElement)

返回一个值,该值指示此形状是否为指定形状的后代。

(继承自 ShapeElement)
IsNavigationKey(Char)

返回一个值,该值指示指定的字符是否对应于导航命令。

(继承自 ShapeElement)
IsNavigationKey(Keys)

返回一个值,该值指示指定的键数据是否对应于导航命令。

(继承自 ShapeElement)
IsRouted()

返回此 LinkShape 是否已路由,还是仍在被撕毁并等待重新路由。

(继承自 LinkShape)
IterateShapes(IShapeIterator)

帮助迭代器遍历形状及其所有子形状的方法。 方法将以递归方式遍历此形状的所有子形状,并在遇到每个形状时调用给定迭代器。 注意:基本实现是遍历是深度优先的,NestedChildShapes 在 RelativeChildShapes 之前循环访问。

(继承自 ShapeElement)
MergeConfigure(ElementGroup)

PresentationElements 不应替代 MergeConfigure () ,因为在合并期间不会对 PE 调用它。 相反,PE 应使用视图修复替代。

(继承自 PresentationElement)
MergeDisconnect(ModelElement)

执行与 MergeRelate 相反的操作 - 即将给定元素与当前元素断开连接, (删除 MergeRelate) 创建的链接。

(继承自 ModelElement)
MergeRelate(ModelElement, ElementGroup)

PresentationElements 不应替代 MergeRelate () ,因为在合并期间不会对 PE 调用它。 相反,PE 应使用视图修复替代。

(继承自 PresentationElement)
ModifyLuminosity(Int32, DiagramClientView)

计算突出显示亮度的依据是:如果 L >= 160,则 L = L * 0.9 else,L += 40。

(继承自 ShapeElement)
MoveByRepositioning(DiagramDragEventArgs)

按鼠标位置确定的量重新定位 ElementGroupPrototype 中的形状。

(继承自 ShapeElement)
MoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)

将给定原型中的形状重新定位到指定点。

(继承自 ShapeElement)
NavigateAscend(SelectedShapesCollection)

由此 LinkShape 调用,将焦点设置为导航序列中第一个可聚焦的上级。

(继承自 LinkShape)
NavigateDescend(SelectedShapesCollection)

由此 ShapeElement 调用,将焦点设置为导航序列中的第一个可聚焦后代。

(继承自 ShapeElement)
NavigateTo(DiagramItem, SelectedShapesCollection)

由 Navigate 方法调用,将焦点设置为指定的 DiagramItem。

(继承自 ShapeElement)
NavigateToFirst(SelectedShapesCollection)

由此 ShapeElement 调用,将焦点设置为此形状的第一个同级 (即父级的第一个子级) 导航序列中。 这还会处理 LineSegments 和 AnchorPoint 的 NavigateToFirst,因为关键事件不会路由到它们。

(继承自 LinkShape)
NavigateToLast(SelectedShapesCollection)

由此 ShapeElement 调用,将焦点设置为此形状的最后一个同级 (,即父级的最后一个子级在导航序列中) 。 这还会处理 LineSegments 和 AnchorPoint 的 NavigateToPrevious,因为关键事件不会路由到它们。

(继承自 LinkShape)
NavigateToNext(SelectedShapesCollection)

由此 LinkShape 调用,将焦点设置为导航序列中的下一段。 这还会处理 LineSegments 和 AnchorPoint 的 NavigateToNext,因为关键事件不会路由到它们。

(继承自 LinkShape)
NavigateToPrevious(SelectedShapesCollection)

由此 LinkShape 调用,将焦点设置为导航序列中的上一段。 这还会处理 LineSegments 和 AnchorPoint 的 NavigateToPrevious,因为关键事件不会路由到它们。

(继承自 LinkShape)
OnAssociatedPropertyChanged(PropertyChangedEventArgs)

在属性更改时调用。

(继承自 ShapeElement)
OnBeforePaint()

OnBeforePaint 在 ShapeElement 的画的开头被调用。 它为开发人员提供了在绘制中使用资源之前更新和替代资源的机会。

(继承自 ShapeElement)
OnBeginEdit(DiagramItemEventArgs)

在就地编辑开始时调用。

(继承自 ShapeElement)
OnBoundsFixup(BoundsFixupState, Int32, Boolean)

允许在查看和关系图修复期间用户固定边界的最后机会。 可以重写此方法,以应用要应用的任何特定边界修复更改。

(继承自 ShapeElement)
OnChildConfigured(ShapeElement, Boolean, Boolean)

由 ShapeElement.FixUpChildShapes () 调用,以允许此 ShapeElement 后配置其指定的子 ShapeElement。 调用 OnChildConfiguring () 后,新的子形状将定位在其放置目标位置 ((如果适用) )。 无论子形状是否已定位,下一步都会调用此名称。

(继承自 ShapeElement)
OnChildConfiguring(ShapeElement, Boolean)

由 ShapeElement.FixUpChildShapes () 调用,以允许此 ShapeElement 预配置其指定的子 ShapeElement。 在形状成为此 ShapeElement 的子级之后,但在将形状定位到目标形状之前,将立即调用。

(继承自 ShapeElement)
OnClick(DiagramPointEventArgs)

由控件的 OnClick () 调用。

(继承自 ShapeElement)
OnCopy(ModelElement)

创建元素的副本时调用。 对重复元素调用 方法。

(继承自 ModelElement)
OnDeleted()

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 BinaryLinkShapeBase)
OnDeleting()

在删除元素之前由模型调用。

(继承自 ModelElement)
OnDoubleClick(DiagramPointEventArgs)

由控件的 OnDoubleClick () 调用

(继承自 ShapeElement)
OnDragDrop(DiagramDragEventArgs)

将 IDataObject 拖过并放入 ShapeElement 时引发的事件。

(继承自 ShapeElement)
OnDragEnter(DiagramDragEventArgs)

当 IDataObject 拖动进入 ShapeElement 的边界时引发的事件。

(继承自 ShapeElement)
OnDragLeave(DiagramPointEventArgs)

当 IDataObject 拖动离开 ShapeElement 的边界时引发的事件。

(继承自 ShapeElement)
OnDragOver(DiagramDragEventArgs)

将 IDataObject 拖动到 ShapeElement 的边界上时引发的事件。

(继承自 ShapeElement)
OnEndEdit(DiagramItemEventArgs)

当就地编辑结束时调用。

(继承自 ShapeElement)
OnInitialize()

此方法在初始创建形状时调用,派生类可以重写以执行形状实例初始化。 此方法始终在事务中调用。

(继承自 ShapeElement)
OnKeyDown(DiagramKeyEventArgs)

当按下键时调用。

(继承自 ShapeElement)
OnKeyPress(DiagramKeyPressEventArgs)

在向下键和向上键之间调用。

(继承自 ShapeElement)
OnKeyUp(DiagramKeyEventArgs)

释放密钥时调用。

(继承自 ShapeElement)
OnMouseDown(DiagramMouseEventArgs)

由控件的 OnMouseDown () 调用。

(继承自 ShapeElement)
OnMouseEnter(DiagramPointEventArgs)

OnMouseEnter 的 ShapeElement 事件的默认实现。

(继承自 ShapeElement)
OnMouseHover(DiagramPointEventArgs)

OnMouseHover 的 ShapeElement 事件的默认实现。

(继承自 ShapeElement)
OnMouseLeave(DiagramPointEventArgs)

OnMouseLeave 的 ShapeElement 事件的默认实现。

(继承自 ShapeElement)
OnMouseMove(DiagramMouseEventArgs)

由控件的 OnMouseMove () 调用。

(继承自 ShapeElement)
OnMouseUp(DiagramMouseEventArgs)

由控件的 OnMouseUp () 调用。

(继承自 ShapeElement)
OnMouseWheel(DiagramMouseEventArgs)

由控件的 OnMouseWheel () 调用。

(继承自 ShapeElement)
OnOrphaned(SerializationResult)

在反序列化期间,如果形状未通过 PresentationViewsSubject 关系连接到任何模型元素,则它被视为“孤立”。 在反序列化过程中遇到此类形状时,将调用此方法。 注意:基本实现将删除形状。

(继承自 ShapeElement)
OnPaintEmphasis(DiagramPaintEventArgs)

在形状上绘制视觉重点。 这并不表示选择,它仅在选择另一个形状时将用户注意力吸引到此形状。 (请参阅 ShapeElement.RelatedShapeToEmphasize.)

(继承自 ShapeElement)
OnPaintFeedback(DiagramPaintEventArgs)

当此 ShapeElement (或其后代之一) 位于鼠标下时绘制拖放反馈。 这由控件的 OnPaint () 调用。

(继承自 ShapeElement)
OnPaintSelection(DiagramPaintEventArgs)

绘制此 ShapeElement 的选择。 默认情况下,ShapeElement 的 ShapeGeometry 将绘制所选内容。 Graphics 对象的坐标系以世界单位表示,相对于父形状。

(继承自 ShapeElement)
OnPaintShape(DiagramPaintEventArgs)

绘制 ShapeElement。 这由控件的 OnPaint () 调用。

(继承自 ShapeElement)
OnResurrected()

在元素复活后由模型调用, (放回存储) 。

(继承自 ModelElement)
OnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32)

用于在角色玩家位置更改时通知的虚拟方法。

(继承自 ModelElement)
OnRolePlayerPositionChanging(DomainRoleInfo, ElementLink, Int32, Int32)

用于在角色玩家位置更改时通知的虚拟方法。

(继承自 ModelElement)
OnShapeInserted()

当此 ShapeElement 成为其父 ShapeElement 的子 ShapeElement 时调用。

(继承自 ShapeElement)
OnShapeRemoved()

当此 ShapeElement 不再是其父 ShapeElement 的子 ShapeElement 时调用。

(继承自 ShapeElement)
PerformResizeParentRule()

设置并触发 ResizeParentRule,其中包含此形状的父级的相应信息。 它每次迭代仅触发一次事件,并保留稍后将处理的所有更改的列表。

(继承自 ShapeElement)
PerformResizeParentRule(Boolean, ShapeElement)

设置并触发 ResizeParentRule,其中包含此形状的父级的相应信息。 它每次迭代仅触发一次事件,并保留稍后将处理的所有更改的列表。

(继承自 ShapeElement)
PermitChildVisibility(ShapeElement)

影响子形状可见性的机会

(继承自 ShapeElement)
ProcessVisibilityChange(Boolean)

处理此形状可见性更改后的结果性更改

(继承自 ShapeElement)
PurgeLayoutObjects()

清除此层次结构中的所有图形布局对象。 清除线中的所有点 - 从形状中清除点集合,而不是图形点,因为 已消失。

(继承自 ShapeElement)
PurgePoints()

此方法删除存在的任何点

(继承自 ShapeElement)
RebuildShape()

对此 ShapeElement 执行视图修复。

(继承自 ShapeElement)
RecalculateRoute()

必须在事务中调用 setter。

(继承自 BinaryLinkShapeBase)
RemoveLayoutObject()

删除 (从 GraphWrapper 中删除此 ShapeElement 及其相对形状和嵌套子形状) 。

(继承自 ShapeElement)
Selected(DiagramClientView)

返回一个值,该值指示是否在指定视图中选择此形状。

(继承自 ShapeElement)
SetDecorators(LinkDecorator, LinkDecorator, Boolean)

设置线条的修饰器。 用户可以选择在调用时使行失效。

(继承自 BinaryLinkShapeBase)
SetDecorators(LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)

设置线条的修饰器。 用户可以选择在调用时使行失效。

(继承自 BinaryLinkShapeBase)
SetEdgePointsValue(EdgePointCollection)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 LinkShape)
SetInitialGraphLayoutVisibility()

如果在创建图形布局对象之前调整了此形状的可见性,请确保两者同步。

(继承自 ShapeElement)
SetShowHideState(Boolean)

设置形状及其所有子级的可见性状态

(继承自 ShapeElement)
SetShowHideStateImplementation(Boolean)

显示和隐藏的主要实现

(继承自 ShapeElement)
ShouldAddShapeForElement(ModelElement)

由 ShapeElement.FixUpChildShapes () 调用以获取一个值,该值指示是否应创建 ShapeElement 并将其添加为此 ShapeElement 的子元素。

(继承自 ShapeElement)
ShouldReparentOnMove()

决定移动形状时是否应重新父级。

(继承自 ShapeElement)
Show()

显示 (使形状及其所有子项) 可见

(继承自 ShapeElement)
ShowCustomToolTip(String, IWin32Window, Point)

显示形状的自定义工具提示,其中包含有关文本和位置的给定提示

(继承自 ShapeElement)
ToString()

返回此对象的辅助名称及其子类型。

(继承自 ShapeElement)
TranslateGeometryToAbsoluteBounds(RectangleD)

将矩形从相对于 IGeometryHost 父级的左上角的坐标转换为绝对世界坐标。

(继承自 ShapeElement)
TranslateGeometryToRelativeBounds(RectangleD)

将矩形从绝对世界坐标转换为相对于 IGeometryHost 父级的左上角的坐标。

(继承自 ShapeElement)
TranslateToAbsoluteBounds(RectangleD)

将矩形从相对于父形状的坐标转换为绝对世界坐标。

(继承自 ShapeElement)
TranslateToRelativeBounds(RectangleD)

将矩形从绝对世界坐标转换为相对于父形状的坐标。

(继承自 ShapeElement)
UpdateDerivedVisible(ShapeElement)

更新此形状的派生可见状态

(继承自 ShapeElement)
UpdateEdgePoints(EdgePointCollection)

设置 EdgePoints 集合,相应地更新相关成员,并使关联的视图失效。

(继承自 LinkShape)
UpdateGeometryLuminosity(DiagramClientView, Brush)

修改指定画笔的发光度。 (旨在仅由 ShapeGeometry 派生类s.)

(继承自 ShapeElement)
UpdateGeometryLuminosity(DiagramClientView, Pen)

修改指定笔的发光度。 (旨在仅由 ShapeGeometry 派生类s.)

(继承自 ShapeElement)
UpdateGraphEdgePoints()

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 LinkShape)

事件

Click

单击形状时触发的事件。

(继承自 ShapeElement)
DoubleClick

双击形状时触发的事件。

(继承自 ShapeElement)
KeyDown

当形状具有焦点且键盘键关闭时触发的事件。

(继承自 ShapeElement)
KeyPress

当形状已聚焦并键入字符时触发的事件。

(继承自 ShapeElement)
KeyUp

当形状具有焦点且释放键盘键时触发的事件。

(继承自 ShapeElement)
MouseDown

按下形状上的鼠标按钮时触发的事件。

(继承自 ShapeElement)
MouseMove

当光标移动到形状上时触发的事件。

(继承自 ShapeElement)
MouseUp

释放形状上的鼠标按钮时触发的事件。

(继承自 ShapeElement)
MouseWheel

当鼠标滚轮在光标位于形状上时移动时触发的事件。

(继承自 ShapeElement)

显式接口实现

IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)
IMergeElements.ChooseMergeTarget(ElementGroup)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)
IMergeElements.ChooseMergeTarget(ElementGroupPrototype)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)
IMergeElements.MergeConfigure(ElementGroup)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)
IMergeElements.MergeDisconnect(ModelElement)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)
IMergeElements.MergeRelate(ModelElement, ElementGroup)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

(继承自 ModelElement)

扩展方法

GetDslDefinitionModelElement(PresentationElement)

此方法可确保返回对应于 PresentationElement 的实际模型元素。 对于 DslDesigner PEL,相应的主题实际上可能是内部 TreeNode 类,而不是实际的 MEL。 此方法正确处理这些情况,以便返回实际的 MEL。

AddExtension(ModelElement, DomainClassInfo)

使用指定域类型的新实例化扩展扩展此 ModelElement。 如果元素已有该类型的扩展,则将引发 InvalidOperationException。

AddExtension(ModelElement, ExtensionElement)

使用特定扩展扩展此 ModelElement。 如果元素已具有相同类型的扩展,则将引发 InvalidOperationException。

AddExtension(ModelElement, Guid)

使用标识的域类型的新实例化扩展扩展此 ModelElement。 如果元素已有该类型的扩展,则将引发 InvalidOperationException。

AddExtension(ModelElement, Type)

使用指定类型的新实例化扩展扩展此 ModelElement。 如果元素已有该类型的扩展,则将引发 InvalidOperationException。

AddExtension<T>(ModelElement)

使用特定类型的新实例化扩展扩展此 ModelElement。 如果元素已具有相同类型的扩展,则将引发 InvalidOperationException。

GetAllExtensions(ModelElement)

返回一个枚举值,该可枚举项首先跨此 ModelElement 中嵌入的扩展元素树执行广度首次遍历。

GetBaseElement(ModelElement)

返回指定的 ModelElement 参与的虚拟 MEL 的根。

GetExtension(ModelElement, DomainClassInfo)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

GetExtension(ModelElement, Guid)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

GetExtension(ModelElement, Type)

从此 ModelElement 的可用扩展中获取指定类型的 ExtensionElement。 如果元素没有此类扩展,则将引发 InvalidOperationException。

GetExtension<T>(ModelElement)

从此 ModelElement 的可用扩展中获取指定类型的 ExtensionElement。 如果元素没有此类扩展,则将引发 InvalidOperationException。

IsExtendedBy(ModelElement, DomainClassInfo)

查询此 ModelElement 当前是否由特定类型的 ExtensionElement 扩展。

IsExtendedBy(ModelElement, Guid)

查询此 ModelElement 当前是否由特定类型的 ExtensionElement 扩展。

IsExtendedBy(ModelElement, Type)

查询此 ModelElement 当前是否由特定类型的 ExtensionElement 扩展。

RemoveExtension(ModelElement, DomainClassInfo)

删除指定 ModelElement 属于特定类型的任何扩展。

RemoveExtension(ModelElement, ExtensionElement)

从此 ModelElement 的扩展中删除指定的 ExtensionElement。

RemoveExtension(ModelElement, Guid)

删除指定 ModelElement 属于特定类型的任何扩展。

RemoveExtension(ModelElement, Type)

删除此 ModelElement 属于特定类型的任何扩展。

TryGetExtension(ModelElement, DomainClassInfo)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

TryGetExtension(ModelElement, Guid)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

TryGetExtension(ModelElement, Type)

适用于 Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape 的 DomainClass BinaryLinkShape 说明

TryGetExtension<T>(ModelElement)

从此 ModelElement 的可用扩展中获取指定类型的 ExtensionElement。 如果此元素没有此类扩展名,则结果将为 null。

CanDelete(ModelElement, Guid[])

从模型中删除 元素。

GetLocks(ModelElement)

获取此元素的锁标志。 这将包括对包含 元素的分区启用的任何锁。

IsLocked(ModelElement, Locks)

测试此元素是否具有任何指定的锁集

SetLocks(ModelElement, Locks)

设置此元素的锁标志

适用于