GraphSchema 类
继承层次结构
System.Object
Microsoft.VisualStudio.GraphModel.GraphObject
Microsoft.VisualStudio.GraphModel.Graph
Microsoft.VisualStudio.GraphModel.GraphSchema
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
<SerializableAttribute> _
Public Class GraphSchema _
Inherits Graph
[SerializableAttribute]
public class GraphSchema : Graph
[SerializableAttribute]
public ref class GraphSchema : public Graph
[<SerializableAttribute>]
type GraphSchema =
class
inherit Graph
end
public class GraphSchema extends Graph
GraphSchema 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
GraphSchema(Boolean, String) | ||
GraphSchema(SerializationInfo, StreamingContext) |
页首
属性
名称 | 说明 | |
---|---|---|
Categories | ||
CategoryCount | 返回对象中的类别数。 (继承自 GraphObject。) | |
DescriptiveCategoryCaption | (继承自 GraphObject。) | |
IsCollapsed | 获取该节点是否处于折叠状态。 (继承自 GraphObject。) | |
IsDocumentSchema | ||
IsExpanded | 获取该节点是否处于折叠状态。 (继承自 GraphObject。) | |
IsGroup | 获取该对象是否为 IsGroup。它会查找 GraphProperties.StyleForGroup (继承自 GraphObject。) | |
IsPseudo | 获取该对象是否为 Pseudo。它会查找 GraphProperties.IsPseudo (继承自 GraphObject。) | |
Item | 获取或设置属性值的属性。 (继承自 GraphObject。) | |
Links | 获取链接的集合。 (继承自 Graph。) | |
Name | ||
Nodes | 获取节点的集合。 (继承自 Graph。) | |
Owner | 获取该对象所属的 Graph 对象。 (继承自 GraphObject。) | |
Paths | 序列化程序在加载期间找到的 CommonPaths,我们还将在保存过程中使用它。 (继承自 Graph。) | |
Properties | ||
PropertyCount | 返回所有注释的编号的属性。 (继承自 GraphObject。) | |
PropertyKeys | 返回所有注释键的枚举的属性。枚举的顺序是随机的。 (继承自 GraphObject。) | |
PropertyValues | 返回所有注释值的枚举的属性。枚举的顺序是随机的。 (继承自 GraphObject。) | |
Schemas | 与关系图相关的架构集合 (继承自 Graph。) | |
Styles | 获取样式的集合。 (继承自 Graph。) | |
Visibility | Helper 属性用于获取或设置图形对象可见性。 (继承自 GraphObject。) | |
VisibleLinks | 返回可见的链接 (link.IsVisible == true)。 (继承自 Graph。) | |
VisibleNodes | 返回可见的节点 (node.IsVisible == true)。 (继承自 Graph。) |
页首
方法
页首
事件
名称 | 说明 | |
---|---|---|
Updated | GraphUpdated 的事件实现。 (继承自 Graph。) | |
Updating | BeforeUpdate 的事件实现。这是一个事件,可以侦听和取消对图形所做的更改。 (继承自 Graph。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。