Diagram

StockSharp.Xaml.Diagram.GXDiagram

一个图是包含一个DiagramPanel的控件,它持有显示节点和链接等部件的一些图层.

继承自: Control

构造函数

Diagram
public Diagram()
diagram = Diagram()

创建一个空图表,其中包含模型的标准值, PartManager, LayoutManager, 布局, CommandHandler, MouseDownTools, MouseMoveTools, MouseUpTools, 以及各种定义的工具属性, 包括 CurrentTool 。

属性

AllowClipboard
public bool AllowClipboard { get; set; }
value = diagram.AllowClipboard
diagram.AllowClipboard = value

获取或设定用户是否可从剪贴板,系统剪贴板或内部剪贴板复制或粘贴 。

AllowCopy
public bool AllowCopy { get; set; }
value = diagram.AllowCopy
diagram.AllowCopy = value

获取或设定用户是否可以复制部件 。

AllowDelete
public bool AllowDelete { get; set; }
value = diagram.AllowDelete
diagram.AllowDelete = value

获取或设定用户是否可从图中删除部分 。

AllowDragOut
public bool AllowDragOut { get; set; }
value = diagram.AllowDragOut
diagram.AllowDragOut = value

获取或设定用户是否在此图中启动拖放, 可能降入不同的控件 。

AllowDrop
public bool AllowDrop { get; set; }
value = diagram.AllowDrop
diagram.AllowDrop = value

获取或设定用户是否在此图中结束拖放 。

AllowEdit
public bool AllowEdit { get; set; }
value = diagram.AllowEdit
diagram.AllowEdit = value

获取或设定用户是否可以进行文本编辑。

AllowGroup
public bool AllowGroup { get; set; }
value = diagram.AllowGroup
diagram.AllowGroup = value

获取或设定用户是否可以将部件组合在一起 。

AllowInsert
public bool AllowInsert { get; set; }
value = diagram.AllowInsert
diagram.AllowInsert = value

获取或设定用户是否在图表中插入部件 。

AllowMove
public bool AllowMove { get; set; }
value = diagram.AllowMove
diagram.AllowMove = value

获取或设定用户是否可移动部件 。

AllowPrint
public bool AllowPrint { get; set; }
value = diagram.AllowPrint
diagram.AllowPrint = value

获取或设定用户是否可以打印部件 。

AllowReshape
public bool AllowReshape { get; set; }
value = diagram.AllowReshape
diagram.AllowReshape = value

获取或设定用户是否可以重塑部件 。

AllowResize
public bool AllowResize { get; set; }
value = diagram.AllowResize
diagram.AllowResize = value

获取或设定用户是否可调整部件大小 。

AllowRotate
public bool AllowRotate { get; set; }
value = diagram.AllowRotate
diagram.AllowRotate = value

获取或设定用户是否可以旋转部件 。

AllowScroll
public bool AllowScroll { get; set; }
value = diagram.AllowScroll
diagram.AllowScroll = value

获取或设定用户是否可以滚动图表,从而改变位置值。

AllowSelect
public bool AllowSelect { get; set; }
value = diagram.AllowSelect
diagram.AllowSelect = value

获取或设定用户是否可选择部件 。

AllowUndo
public bool AllowUndo { get; set; }
value = diagram.AllowUndo
diagram.AllowUndo = value

获取或设定用户是否可撤销任何更改 。

AllowUngroup
public bool AllowUngroup { get; set; }
value = diagram.AllowUngroup
diagram.AllowUngroup = value

获取或设定用户是否可以解析已存在的组节点 。

AllowZoom
public bool AllowZoom { get; set; }
value = diagram.AllowZoom
diagram.AllowZoom = value

获取或设定用户是否可以缩放图表,从而改变缩放值 。

CenteredNodeData
public object CenteredNodeData { get; set; }
value = diagram.CenteredNodeData
diagram.CenteredNodeData = value

获取或设置数据对象,在视图端口中将相应的节点作为中心.

ClickCreatingTool
public ClickCreatingTool ClickCreatingTool { get; set; }
value = diagram.ClickCreatingTool
diagram.ClickCreatingTool = value

获取或设置鼠标升起标准工具,用于用鼠标点击插入对象。

ClickSelectingTool
public ClickSelectingTool ClickSelectingTool { get; set; }
value = diagram.ClickSelectingTool
diagram.ClickSelectingTool = value

获取或设置鼠标升起标准工具,用于选择鼠标单击的对象。

CommandHandler
public CommandHandler CommandHandler { get; set; }
value = diagram.CommandHandler
diagram.CommandHandler = value

获取或设置执行所有标准命令的 CommandHandler 。

CurrentTool
public IDiagramTool CurrentTool { get; set; }
value = diagram.CurrentTool
diagram.CurrentTool = value

获取或设置处理图中输入事件的当前 IDiagramTool 。

DefaultTool
public IDiagramTool DefaultTool { get; set; }
value = diagram.DefaultTool
diagram.DefaultTool = value

获取或设置默认工具, 无论是在初始还是当工具停止时, 都作为 CurrentTool 的值使用 。

DraggingTool
public DraggingTool DraggingTool { get; set; }
value = diagram.DraggingTool
diagram.DraggingTool = value

获取或设置用于拖曳(移动或复制)选择的标准鼠标移动工具。

DragSelectingTool
public DragSelectingTool DragSelectingTool { get; set; }
value = diagram.DragSelectingTool
diagram.DragSelectingTool = value

获取或设置用于选择许多带有橡胶带矩形的物体的标准鼠标-移动工具.

DragZoomingTool
public DragZoomingTool DragZoomingTool { get; set; }
value = diagram.DragZoomingTool
diagram.DragZoomingTool = value

获取或设置非标准鼠标移动工具,用于手动缩放.

Filter
internal PartManagerFilter Filter { get; set; }
value = diagram.Filter
diagram.Filter = value

获取或设定IDiagramModel)是否生成节点数据,如果为倒塌的树节点的树种,或者如果为倒塌的树节点的树种,则不获取为它们创建的节点数据.

FirstMouseEventArgs
public MouseEventArgs FirstMouseEventArgs { get; set; }
value = diagram.FirstMouseEventArgs
diagram.FirstMouseEventArgs = value

获取或设置描述第一个鼠标下移事件的 MouseEventArgs 。

FirstMousePointInModel
public Point FirstMousePointInModel { get; set; }
value = diagram.FirstMousePointInModel
diagram.FirstMousePointInModel = value

获取或设定鼠标下行事件发生时的模型坐标点 。

FirstMouseTimestamp
public int FirstMouseTimestamp { get; set; }
value = diagram.FirstMouseTimestamp
diagram.FirstMouseTimestamp = value

获取或设置时间戳,以毫秒计,描述第一个鼠标下拉事件.

GridPattern
public GridPattern GridPattern { get; set; }
value = diagram.GridPattern
diagram.GridPattern = value

获取或设置用于为整张图制成GridPattern的UIElement.

GridPatternTemplate
public DataTemplate GridPatternTemplate { get; set; }
value = diagram.GridPatternTemplate
diagram.GridPatternTemplate = value

获取或设置用于为整幅图制成GridPattern的DataTemplate.

GridSnapCellSize
public Size GridSnapCellSize { get; set; }
value = diagram.GridSnapCellSize
diagram.GridSnapCellSize = value

如果 & #%GridSnapEnabled == 值为真,则在拖曳过程中获取或设置所抓取的网格单元格大小 。

GridSnapCellSpot
public Spot GridSnapCellSpot { get; set; }
value = diagram.GridSnapCellSpot
diagram.GridSnapCellSpot = value

获取或设置指定网格单元格中拖动部分的点的 Spot, 如果 & #% GridSnapEnabled =% 值为真 。

GridSnapEnabled
public bool GridSnapEnabled { get; set; }
value = diagram.GridSnapEnabled
diagram.GridSnapEnabled = value

获取或设定 DraggingTool 是否抓取被拖取的节点位置 。

GridSnapOrigin
public Point GridSnapOrigin { get; set; }
value = diagram.GridSnapOrigin
diagram.GridSnapOrigin = value

如果 GridSnapEnabled 的值是真实的,则在模型坐标中获取或设置断线网坐标.

GridVisible
public bool GridVisible { get; set; }
value = diagram.GridVisible
diagram.GridVisible = value

获取或设定整个图中是否可见背景网格图案 。

GroupTemplate
public DataTemplate GroupTemplate { get; set; }
value = diagram.GroupTemplate
diagram.GroupTemplate = value

获取或设置用于定义组的默认外观的 DataTemplate 。

GroupTemplateDictionary
public DataTemplateDictionary GroupTemplateDictionary { get; set; }
value = diagram.GroupTemplateDictionary
diagram.GroupTemplateDictionary = value

获取或设置一个决定所有组的外观的 DataTemplateDictionary 。

HasDefaultModel
public bool HasDefaultModel { get; set; }
value = diagram.HasDefaultModel
diagram.HasDefaultModel = value

获取或设定此图表是否对 Model 具有默认值, 即空的 UniversalGraphLinksModel 。

InitialCenteredNodeData
public object InitialCenteredNodeData { get; set; }
value = diagram.InitialCenteredNodeData
diagram.InitialCenteredNodeData = value

获取或设置初始布局完成后相应的节点会被中心入到视图端口的数据对象.

InitialDiagramBoundsSpot
public Spot InitialDiagramBoundsSpot { get; set; }
value = diagram.InitialDiagramBoundsSpot
diagram.InitialDiagramBoundsSpot = value

获取或设置图框中的点点,该点应位于 InitialPanelSpot 指定的点上 。

InitialPanelSpot
public Spot InitialPanelSpot { get; set; }
value = diagram.InitialPanelSpot
diagram.InitialPanelSpot = value

获取或设置在 GBS 指定位置的 Spot 点 。

InitialParts
public IList InitialParts { get; private set; }
value = diagram.InitialParts
diagram.InitialParts = value

获取图中自动包含的部件列表,而不来自模型。

InitialPosition
public Point InitialPosition { get; set; }
value = diagram.InitialPosition
diagram.InitialPosition = value

获取或设定此图的面板属性的初始值, 位于模型坐标中 。

InitialScale
public double InitialScale { get; set; }
value = diagram.InitialScale
diagram.InitialScale = value

获取或设置此图的面板属性的初始值 。

InitialStretch
public StretchPolicy InitialStretch { get; set; }
value = diagram.InitialStretch
diagram.InitialStretch = value

获取或设定此图的面板属性的初始值 。

IsAnimating
public bool IsAnimating { get; set; }
value = diagram.IsAnimating
diagram.IsAnimating = value

当一个布局或滚动动画进行中时,此只读属性是真实的.

IsInTransaction
public bool IsInTransaction { get; }
value = diagram.IsInTransaction

当在模型的 UndoManager 上开始交易时,此属性是真实的 。

IsReadOnly
public bool IsReadOnly { get; set; }
value = diagram.IsReadOnly
diagram.IsReadOnly = value

获取或设定用户是否无法修改图表。 这是依赖属性 。

LastMouseEventArgs
public MouseEventArgs LastMouseEventArgs { get; set; }
value = diagram.LastMouseEventArgs
diagram.LastMouseEventArgs = value

获取或设置描述鼠标最新事件的 MouseEventArgs 。

LastMousePointInModel
public Point LastMousePointInModel { get; set; }
value = diagram.LastMousePointInModel
diagram.LastMousePointInModel = value

获取或设定任何鼠标事件发生时的模型坐标中的最新点 。

LastMouseTimestamp
public int LastMouseTimestamp { get; set; }
value = diagram.LastMouseTimestamp
diagram.LastMouseTimestamp = value

获取或设置时间戳,以毫秒计,描述鼠标事件上的一个事件.

Layout
internal IDiagramLayout Layout { get; set; }
value = diagram.Layout
diagram.Layout = value

获取或设置IDiagramLayout负责将所有顶级节点定位于图中.

LayoutManager
public LayoutManager LayoutManager { get; set; }
value = diagram.LayoutManager
diagram.LayoutManager = value

获取或设置负责将所有节点定位于图中的LayoutManager.

LinkingTool
public LinkingTool LinkingTool { get; set; }
value = diagram.LinkingTool
diagram.LinkingTool = value

获取或设置用于绘制新链接的标准鼠标移动工具。

LinkReshapingTool
public LinkReshapingTool LinkReshapingTool { get; set; }
value = diagram.LinkReshapingTool
diagram.LinkReshapingTool = value

获取或设置用于重塑链接的标准鼠标下移工具 。

LinksSource
public IEnumerable LinksSource { get; set; }
value = diagram.LinksSource
diagram.LinksSource = value

获取并设置了图中的模型的 LinksSource, 如果模型是 ILinksModel 。

LinkTemplate
public DataTemplate LinkTemplate { get; set; }
value = diagram.LinkTemplate
diagram.LinkTemplate = value

获取或设置一个决定Links默认外观的DataTemplate.

LinkTemplateDictionary
public DataTemplateDictionary LinkTemplateDictionary { get; set; }
value = diagram.LinkTemplateDictionary
diagram.LinkTemplateDictionary = value

获取或设置一个决定所有链接的外观的 DataTemplateDictionary 。

MaximumSelectionCount
public int MaximumSelectionCount { get; set; }
value = diagram.MaximumSelectionCount
diagram.MaximumSelectionCount = value

获取或设置所选部件的最大数量。

Model
public IDiagramModel Model { get; set; }
value = diagram.Model
diagram.Model = value

获取或设置组织此图所绑定的数据的 IDiagramModel 。

MouseDownTools
public IList<IDiagramTool> MouseDownTools { get; private set; }
value = diagram.MouseDownTools
diagram.MouseDownTools = value

获得 IDiagramTools 列表, 由 ToolManager 搜索, 以寻找工具运行在鼠标下拉事件上 。

MouseMoveTools
public IList<IDiagramTool> MouseMoveTools { get; private set; }
value = diagram.MouseMoveTools
diagram.MouseMoveTools = value

获得 IDiagramTools 列表, 由 ToolManager 搜索, 以寻找工具运行在鼠标移动事件上 。

MouseUpTools
public IList<IDiagramTool> MouseUpTools { get; private set; }
value = diagram.MouseUpTools
diagram.MouseUpTools = value

获得 IDiagramTools 列表, 由 ToolManager 搜索工具运行到鼠标升起事件 。

Nodes
public IEnumerable<Node> Nodes { get; }
value = diagram.Nodes

包含 Groups 在内的此图中节点的只读集合 。

NodesSource
public IEnumerable NodesSource { get; set; }
value = diagram.NodesSource
diagram.NodesSource = value

获取并设置了图的模型的 NodesSource。

NodeTemplate
public DataTemplate NodeTemplate { get; set; }
value = diagram.NodeTemplate
diagram.NodeTemplate = value

获取或设置用于定义常规节点的默认外观的 DataTemplate,这些节点既不是组,也不是链接标签.

NodeTemplateDictionary
public DataTemplateDictionary NodeTemplateDictionary { get; set; }
value = diagram.NodeTemplateDictionary
diagram.NodeTemplateDictionary = value

获取或设置一个决定非组的节点的外观的 DataTemplateDictionary 。

Panel
public DiagramPanel Panel { get; private set; }
value = diagram.Panel
diagram.Panel = value

获得执行此图基本功能的 DiagramPanel 。

PanningTool
public PanningTool PanningTool { get; set; }
value = diagram.PanningTool
diagram.PanningTool = value

获取或设置用于手动平板化的标准鼠标移动工具.

PartManager
public PartManager PartManager { get; set; }
value = diagram.PartManager
diagram.PartManager = value

获取或设定PartManager负责创建和更新模型所管理的所有数据的部件.

PartsModel
public PartsModel PartsModel { get; set; }
value = diagram.PartsModel
diagram.PartsModel = value

获取或设置用于持有不与数据相绑定的部件的特殊模型。

PrintManager
public PrintManager PrintManager { get; set; }
value = diagram.PrintManager
diagram.PrintManager = value

获取或设置负责打印图的PrintManager.

RelinkingTool
public RelinkingTool RelinkingTool { get; set; }
value = diagram.RelinkingTool
diagram.RelinkingTool = value

获取或设置鼠标下行标准工具,用于重接已存在的链接.

ResizingTool
public ResizingTool ResizingTool { get; set; }
value = diagram.ResizingTool
diagram.ResizingTool = value

获取或设置鼠标下移的标准工具,用于重定一个部分的大小 。

RotatingTool
public RotatingTool RotatingTool { get; set; }
value = diagram.RotatingTool
diagram.RotatingTool = value

获取或设置用于旋转某个部分的标准鼠标下移工具。

SelectedGroup
public Group SelectedGroup { get; set; }
value = diagram.SelectedGroup
diagram.SelectedGroup = value

获取或设置主要选中的组 。

SelectedNode
public Node SelectedNode { get; set; }
value = diagram.SelectedNode
diagram.SelectedNode = value

获取或设置所选的主节点。

SelectedPart
public Part SelectedPart { get; set; }
value = diagram.SelectedPart
diagram.SelectedPart = value

获取或设置主选择的部件。

SelectedParts
public ObservableCollection<Part> SelectedParts { get; }
value = diagram.SelectedParts

这是所有选中部件的 ObservableCollection 。

Stretch
public StretchPolicy Stretch { get; set; }
value = diagram.Stretch
diagram.Stretch = value

获取或设定部件在面板中的位置 。

TextEditingTool
public TextEditingTool TextEditingTool { get; set; }
value = diagram.TextEditingTool
diagram.TextEditingTool = value

获取或设置用于在位文本编辑的标准工具.

TreePath
internal TreePath TreePath { get; set; }
value = diagram.TreePath
diagram.TreePath = value

获取或设定假定定义树状图的方式。

UnloadingClearsPartManager
public bool UnloadingClearsPartManager { get; set; }
value = diagram.UnloadingClearsPartManager
diagram.UnloadingClearsPartManager = value

获取或设定此图表是否被卸载, 它应该清除 PartManager 的所有节点和链接 。

方法

ClearSelection
public void ClearSelection()
diagram.ClearSelection()

从 &% SelectedParts 的收藏中删除全部部件 。

CommitTransaction
public bool CommitTransaction(string tname)
result = diagram.CommitTransaction(tname)

通过调用 String 来完成一个可撤销的交易(一个模型更改的集合).

tname
描述刚刚发生的改变
FindDefault``1
public static T FindDefault<T>(string name)
result = Diagram.FindDefault(name)

此静态方法可找到类型为 . 的默认图资源 。

name

返回值: 如果无法找到该名称的资源, 或者如果它确实存在, 但不属于类型, 则无效

FindMouseTool``1
public T FindMouseTool<T>(bool subclass)
result = diagram.FindMouseTool(subclass)

找到一个特定类型的鼠标工具。

subclass
如果选中的话, 匹配工具可能是 . 的子类; 否则工具必须是完全相同的类型 。
FindResource``1
public static T FindResource<T>(FrameworkElement start, string name)
result = Diagram.FindResource(start, name)

此静态方法寻找类型资源 。

start
国家
name
想要的资源名称

返回值: 查找元素的 ResourceDictionary 或母元素中的第一个类型对象,或者如果找不到该名称的资源,或者如果找到该名称但不属于理想类型,则无效。

LayoutDiagram
public void LayoutDiagram()
diagram.LayoutDiagram()

请求重播此图中的所有节点和链接 。

OnApplyTemplate
public override void OnApplyTemplate()
diagram.OnApplyTemplate()

进行初始化。

OnKeyDown
protected override void OnKeyDown(KeyEventArgs e)
diagram.OnKeyDown(e)

在每次键盘下方活动,请拨打KeyEventArgs上CurrentTool.

e
OnKeyUp
protected override void OnKeyUp(KeyEventArgs e)
diagram.OnKeyUp(e)

每一个键上事件,请拨打KeyEventArgs上CurrentTool.

e
RaiseTemplatesChanged
public void RaiseTemplatesChanged(string propertyname)
diagram.RaiseTemplatesChanged(propertyname)

Raise the TemplatesChanged event.

propertyname
修改后字典属性的名称
ReplaceMouseTool``1
public T ReplaceMouseTool<T>(IDiagramTool newtool, bool subclass)
result = diagram.ReplaceMouseTool(newtool, subclass)

用新工具替换给定类型的鼠标工具。

newtool
如果新值无效, 查找时找到的任何工具都会从查找时的列表中被删除 。
subclass
如果选中的话, 匹配工具可能是 . 的子类; 否则工具必须是完全相同的类型 。

返回值: 被新工具所取代的旧工具

RollbackTransaction
public bool RollbackTransaction()
result = diagram.RollbackTransaction()

中止当前交易并回滚(undo) 任何更改, 使用 RollbackTransaction 。

Select
public void Select(Part part)
diagram.Select(part)

使给定的部件成为唯一选中的 。

part
属于此图的部件。 如果该值无效, 则此值将不起作用 。
Select
public void Select(IEnumerable<Part> parts)
diagram.Select(parts)

将唯一选中部分的给定集合中的所有部件都制作成 。

parts
属于此图的部件的可假设的%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StartTransaction
public bool StartTransaction(string tname)
result = diagram.StartTransaction(tname)

启动可撤销的交易( 模型更改的集合) , 使用 String 。

tname
描述即将发生的变化
ToString
public override string ToString()
result = diagram.ToString()

为调试方便.

事件

ClipboardPasted
public event EventHandler<DiagramEventArgs> ClipboardPasted
diagram.ClipboardPasted += handler

此事由Paste提出.

ExternalObjectsDropped
public event EventHandler<DiagramEventArgs> ExternalObjectsDropped
diagram.ExternalObjectsDropped += handler

This event is raised by DraggingTool.

InitialLayoutCompleted
public event EventHandler<DiagramEventArgs> InitialLayoutCompleted
diagram.InitialLayoutCompleted += handler

此事件是在第一次布局完成并更新了图表界限后提出的。

LayoutCompleted
public event EventHandler<DiagramEventArgs> LayoutCompleted
diagram.LayoutCompleted += handler

此事件在进行任何布局并更新了图表界限后被提起 。

LinkDrawn
public event EventHandler<DiagramEventArgs> LinkDrawn
diagram.LinkDrawn += handler

This event is raised by LinkingTool.

LinkRelinked
public event EventHandler<DiagramEventArgs> LinkRelinked
diagram.LinkRelinked += handler

This event is raised by RelinkingTool.

LinkReshaped
public event EventHandler<DiagramEventArgs> LinkReshaped
diagram.LinkReshaped += handler

由LinkReshapingTool提出。

ModelReplaced
public event PropertyChangedEventHandler ModelReplaced
diagram.ModelReplaced += handler

当模型属性改变值时,此事件会被提出.

NodeCreated
public event EventHandler<DiagramEventArgs> NodeCreated
diagram.NodeCreated += handler

由ClickCreatingTool提出。

NodeResized
public event EventHandler<DiagramEventArgs> NodeResized
diagram.NodeResized += handler

This event is raised by ResizingTool.

NodeRotated
public event EventHandler<DiagramEventArgs> NodeRotated
diagram.NodeRotated += handler

This event is raised by RotatingTool.

SelectionChanged
public event SelectionChangedEventHandler SelectionChanged
diagram.SelectionChanged += handler

此事件由图来提出.

SelectionCopied
public event EventHandler<DiagramEventArgs> SelectionCopied
diagram.SelectionCopied += handler

This event is raised by DraggingTool.

SelectionDeleted
public event EventHandler<DiagramEventArgs> SelectionDeleted
diagram.SelectionDeleted += handler

本次事件由删除发生后删除的提示提出 。

SelectionDeleting
public event EventHandler<DiagramEventArgs> SelectionDeleting
diagram.SelectionDeleting += handler

此事件由删除前的删除提出 。

SelectionGrouped
public event EventHandler<DiagramEventArgs> SelectionGrouped
diagram.SelectionGrouped += handler

此事由集团提出.

SelectionMoved
public event EventHandler<DiagramEventArgs> SelectionMoved
diagram.SelectionMoved += handler

This event is raised by DraggingTool.

SelectionUngrouped
public event EventHandler<DiagramEventArgs> SelectionUngrouped
diagram.SelectionUngrouped += handler

此事件由Ungroup提出.

TemplateApplied
public event EventHandler<DiagramEventArgs> TemplateApplied
diagram.TemplateApplied += handler

由OnApplyTemplate在图板的面板创建后提出, 以便您在 DiagramPanel 上建立事件处理器或绑定 。

TemplatesChanged
public event PropertyChangedEventHandler TemplatesChanged
diagram.TemplatesChanged += handler

当图中的 DataTemplate 属性被更改时, 将提出此事件 。

TextEdited
public event EventHandler<DiagramEventArgs> TextEdited
diagram.TextEdited += handler

This event is raised by TextEditingTool.

字段

AllowClipboardProperty
public static readonly DependencyProperty AllowClipboardProperty
value = Diagram.AllowClipboardProperty

确定AllowClipboard的受抚养财产。

AllowCopyProperty
public static readonly DependencyProperty AllowCopyProperty
value = Diagram.AllowCopyProperty

确定AllowCopy的受抚养财产。

AllowDeleteProperty
public static readonly DependencyProperty AllowDeleteProperty
value = Diagram.AllowDeleteProperty

确定AllowDelete的受抚养财产。

AllowDragOutProperty
public static readonly DependencyProperty AllowDragOutProperty
value = Diagram.AllowDragOutProperty

确定AllowDragOut的受抚养财产。

AllowDropProperty
public static readonly DependencyProperty AllowDropProperty
value = Diagram.AllowDropProperty

确定AllowDrop的受抚养财产。

AllowEditProperty
public static readonly DependencyProperty AllowEditProperty
value = Diagram.AllowEditProperty

确定AllowEdit的受抚养财产。

AllowGroupProperty
public static readonly DependencyProperty AllowGroupProperty
value = Diagram.AllowGroupProperty

确定AllowGroup的受抚养财产。

AllowInsertProperty
public static readonly DependencyProperty AllowInsertProperty
value = Diagram.AllowInsertProperty

确定AllowInsert的受抚养财产。

AllowLinkProperty
public static readonly DependencyProperty AllowLinkProperty
value = Diagram.AllowLinkProperty

确定AllowLink的受抚养财产。

AllowMoveProperty
public static readonly DependencyProperty AllowMoveProperty
value = Diagram.AllowMoveProperty

确定AllowMove的受抚养财产。

AllowPrintProperty
public static readonly DependencyProperty AllowPrintProperty
value = Diagram.AllowPrintProperty

确定AllowPrint的受抚养财产。

AllowRelinkProperty
public static readonly DependencyProperty AllowRelinkProperty
value = Diagram.AllowRelinkProperty

确定AllowRelink的受抚养财产。

AllowReshapeProperty
public static readonly DependencyProperty AllowReshapeProperty
value = Diagram.AllowReshapeProperty

确定AllowReshape的受抚养财产。

AllowResizeProperty
public static readonly DependencyProperty AllowResizeProperty
value = Diagram.AllowResizeProperty

确定AllowResize的受抚养财产。

AllowRotateProperty
public static readonly DependencyProperty AllowRotateProperty
value = Diagram.AllowRotateProperty

确定AllowRotate的受抚养财产。

AllowScrollProperty
public static readonly DependencyProperty AllowScrollProperty
value = Diagram.AllowScrollProperty

确定AllowScroll的受抚养财产。

AllowSelectProperty
public static readonly DependencyProperty AllowSelectProperty
value = Diagram.AllowSelectProperty

确定AllowSelect的受抚养财产。

AllowUndoProperty
public static readonly DependencyProperty AllowUndoProperty
value = Diagram.AllowUndoProperty

确定AllowUndo的受抚养财产。

AllowUngroupProperty
public static readonly DependencyProperty AllowUngroupProperty
value = Diagram.AllowUngroupProperty

确定AllowUngroup的受抚养财产。

AllowZoomProperty
public static readonly DependencyProperty AllowZoomProperty
value = Diagram.AllowZoomProperty

确定AllowZoom的受抚养财产。

CenteredNodeDataProperty
public static readonly DependencyProperty CenteredNodeDataProperty
value = Diagram.CenteredNodeDataProperty

确定CenteredNodeData的受抚养财产。

ClickCreatingToolProperty
public static readonly DependencyProperty ClickCreatingToolProperty
value = Diagram.ClickCreatingToolProperty

确定ClickCreatingTool的受抚养财产。

ClickSelectingToolProperty
public static readonly DependencyProperty ClickSelectingToolProperty
value = Diagram.ClickSelectingToolProperty

确定ClickSelectingTool的受抚养财产。

ClipboardPastedEvent
public static readonly RoutedEvent ClipboardPastedEvent
value = Diagram.ClipboardPastedEvent

确定ClipboardPasted路由事件。

CommandHandlerProperty
public static readonly DependencyProperty CommandHandlerProperty
value = Diagram.CommandHandlerProperty

确定CommandHandler的受抚养财产。

CurrentToolProperty
public static readonly DependencyProperty CurrentToolProperty
value = Diagram.CurrentToolProperty

确定CurrentTool的受抚养财产。

DefaultToolProperty
public static readonly DependencyProperty DefaultToolProperty
value = Diagram.DefaultToolProperty

确定DefaultTool的受抚养财产。

DraggingToolProperty
public static readonly DependencyProperty DraggingToolProperty
value = Diagram.DraggingToolProperty

确定DraggingTool的受抚养财产。

DragSelectingToolProperty
public static readonly DependencyProperty DragSelectingToolProperty
value = Diagram.DragSelectingToolProperty

确定DragSelectingTool的受抚养财产。

DragZoomingToolProperty
public static readonly DependencyProperty DragZoomingToolProperty
value = Diagram.DragZoomingToolProperty

确定DragZoomingTool的受抚养财产。

ExternalObjectsDroppedEvent
public static readonly RoutedEvent ExternalObjectsDroppedEvent
value = Diagram.ExternalObjectsDroppedEvent

确定ExternalObjectsDropped路由事件。

FilterProperty
private static readonly DependencyProperty FilterProperty
value = Diagram.FilterProperty

识别过滤器依赖属性 。

FirstMouseEventArgsProperty
public static readonly DependencyProperty FirstMouseEventArgsProperty
value = Diagram.FirstMouseEventArgsProperty

确定FirstMouseEventArgs的受抚养财产。

FirstMousePointInModelProperty
public static readonly DependencyProperty FirstMousePointInModelProperty
value = Diagram.FirstMousePointInModelProperty

确定FirstMousePointInModel的受抚养财产。

FirstMouseTimestampProperty
public static readonly DependencyProperty FirstMouseTimestampProperty
value = Diagram.FirstMouseTimestampProperty

确定FirstMouseTimestamp的受抚养财产。

GridPatternProperty
public static readonly DependencyProperty GridPatternProperty
value = Diagram.GridPatternProperty

确定GridPattern的受抚养财产。

GridPatternTemplateProperty
public static readonly DependencyProperty GridPatternTemplateProperty
value = Diagram.GridPatternTemplateProperty

确定GridPatternTemplate的受抚养财产。

GridSnapCellSizeProperty
public static readonly DependencyProperty GridSnapCellSizeProperty
value = Diagram.GridSnapCellSizeProperty

确定GridSnapCellSize的受抚养财产。

GridSnapCellSpotProperty
public static readonly DependencyProperty GridSnapCellSpotProperty
value = Diagram.GridSnapCellSpotProperty

确定GridSnapCellSpot的受抚养财产。

GridSnapEnabledProperty
public static readonly DependencyProperty GridSnapEnabledProperty
value = Diagram.GridSnapEnabledProperty

确定GridSnapEnabled的受抚养财产。

GridSnapOriginProperty
public static readonly DependencyProperty GridSnapOriginProperty
value = Diagram.GridSnapOriginProperty

确定GridSnapOrigin的受抚养财产。

GridVisibleProperty
public static readonly DependencyProperty GridVisibleProperty
value = Diagram.GridVisibleProperty

确定GridVisible的受抚养财产。

GroupTemplateDictionaryProperty
public static readonly DependencyProperty GroupTemplateDictionaryProperty
value = Diagram.GroupTemplateDictionaryProperty

确定GroupTemplateDictionary的受抚养财产。

GroupTemplateProperty
public static readonly DependencyProperty GroupTemplateProperty
value = Diagram.GroupTemplateProperty

确定GroupTemplate的受抚养财产。

HasDefaultModelProperty
public static readonly DependencyProperty HasDefaultModelProperty
value = Diagram.HasDefaultModelProperty

确定HasDefaultModel的受抚养财产。

InitialCenteredNodeDataProperty
public static readonly DependencyProperty InitialCenteredNodeDataProperty
value = Diagram.InitialCenteredNodeDataProperty

确定InitialCenteredNodeData的受抚养财产。

InitialDiagramBoundsSpotProperty
public static readonly DependencyProperty InitialDiagramBoundsSpotProperty
value = Diagram.InitialDiagramBoundsSpotProperty

确定InitialDiagramBoundsSpot的受抚养财产。

InitialLayoutCompletedEvent
public static readonly RoutedEvent InitialLayoutCompletedEvent
value = Diagram.InitialLayoutCompletedEvent

确定InitialLayoutCompleted路由事件。

InitialPanelSpotProperty
public static readonly DependencyProperty InitialPanelSpotProperty
value = Diagram.InitialPanelSpotProperty

确定InitialPanelSpot的受抚养财产。

InitialPositionProperty
public static readonly DependencyProperty InitialPositionProperty
value = Diagram.InitialPositionProperty

确定InitialPosition的受抚养财产。

InitialScaleProperty
public static readonly DependencyProperty InitialScaleProperty
value = Diagram.InitialScaleProperty

确定InitialScale的受抚养财产。

InitialStretchProperty
public static readonly DependencyProperty InitialStretchProperty
value = Diagram.InitialStretchProperty

确定InitialStretch的受抚养财产。

IsAnimatingProperty
public static readonly DependencyProperty IsAnimatingProperty
value = Diagram.IsAnimatingProperty

确定只读的 IsAnimating 依赖属性 。

IsReadOnlyProperty
public static readonly DependencyProperty IsReadOnlyProperty
value = Diagram.IsReadOnlyProperty

确定IsReadOnly的受抚养财产。

LastMouseEventArgsProperty
public static readonly DependencyProperty LastMouseEventArgsProperty
value = Diagram.LastMouseEventArgsProperty

确定LastMouseEventArgs的受抚养财产。

LastMousePointInModelProperty
public static readonly DependencyProperty LastMousePointInModelProperty
value = Diagram.LastMousePointInModelProperty

确定LastMousePointInModel的受抚养财产。

LastMouseTimestampProperty
public static readonly DependencyProperty LastMouseTimestampProperty
value = Diagram.LastMouseTimestampProperty

确定FirstMouseTimestamp的受抚养财产。

LayoutCompletedEvent
public static readonly RoutedEvent LayoutCompletedEvent
value = Diagram.LayoutCompletedEvent

确定LayoutCompleted路由事件。

LayoutManagerProperty
public static readonly DependencyProperty LayoutManagerProperty
value = Diagram.LayoutManagerProperty

确定LayoutManager的受抚养财产。

LayoutProperty
public static readonly DependencyProperty LayoutProperty
value = Diagram.LayoutProperty

确定布局依赖属性。

LinkDrawnEvent
public static readonly RoutedEvent LinkDrawnEvent
value = Diagram.LinkDrawnEvent

Identifies the LinkDrawn routed event.

LinkingToolProperty
public static readonly DependencyProperty LinkingToolProperty
value = Diagram.LinkingToolProperty

确定LinkingTool的受抚养财产。

LinkRelinkedEvent
public static readonly RoutedEvent LinkRelinkedEvent
value = Diagram.LinkRelinkedEvent

确定LinkRelinked路由事件。

LinkReshapedEvent
public static readonly RoutedEvent LinkReshapedEvent
value = Diagram.LinkReshapedEvent

确定LinkReshaped路由事件。

LinkReshapingToolProperty
public static readonly DependencyProperty LinkReshapingToolProperty
value = Diagram.LinkReshapingToolProperty

确定LinkReshapingTool的受抚养财产。

LinksProperty
public static readonly DependencyProperty LinksProperty
value = Diagram.LinksProperty

确定只读的 Links 依赖属性 。

LinksSourceProperty
public static readonly DependencyProperty LinksSourceProperty
value = Diagram.LinksSourceProperty

确定LinksSource的受抚养财产。

LinkTemplateDictionaryProperty
public static readonly DependencyProperty LinkTemplateDictionaryProperty
value = Diagram.LinkTemplateDictionaryProperty

确定LinkTemplateDictionary的受抚养财产。

LinkTemplateProperty
public static readonly DependencyProperty LinkTemplateProperty
value = Diagram.LinkTemplateProperty

确定LinkTemplate的受抚养财产。

MaximumSelectionCountProperty
public static readonly DependencyProperty MaximumSelectionCountProperty
value = Diagram.MaximumSelectionCountProperty

确定MaximumSelectionCount的受抚养财产。

ModelProperty
public static readonly DependencyProperty ModelProperty
value = Diagram.ModelProperty

确定模型依赖财产。

NodeCreatedEvent
public static readonly RoutedEvent NodeCreatedEvent
value = Diagram.NodeCreatedEvent

Identifies the NodeCreated routed event.

NodeResizedEvent
public static readonly RoutedEvent NodeResizedEvent
value = Diagram.NodeResizedEvent

Identifies the NodeResized routed event.

NodeRotatedEvent
public static readonly RoutedEvent NodeRotatedEvent
value = Diagram.NodeRotatedEvent

Identifies the NodeRotated routed event.

NodesProperty
public static readonly DependencyProperty NodesProperty
value = Diagram.NodesProperty

确定只读的节点依赖属性。

NodesSourceProperty
public static readonly DependencyProperty NodesSourceProperty
value = Diagram.NodesSourceProperty

确定NodesSource的受抚养财产。

NodeTemplateDictionaryProperty
public static readonly DependencyProperty NodeTemplateDictionaryProperty
value = Diagram.NodeTemplateDictionaryProperty

确定NodeTemplateDictionary的受抚养财产。

NodeTemplateProperty
public static readonly DependencyProperty NodeTemplateProperty
value = Diagram.NodeTemplateProperty

确定NodeTemplate的受抚养财产。

PanningToolProperty
public static readonly DependencyProperty PanningToolProperty
value = Diagram.PanningToolProperty

确定PanningTool的受抚养财产。

PartManagerProperty
public static readonly DependencyProperty PartManagerProperty
value = Diagram.PartManagerProperty

确定PartManager的受抚养财产。

PartsModelProperty
public static readonly DependencyProperty PartsModelProperty
value = Diagram.PartsModelProperty

确定PartsModel的受抚养财产。

PrintManagerProperty
public static readonly DependencyProperty PrintManagerProperty
value = Diagram.PrintManagerProperty

确定PrintManager的受抚养财产。

RelinkingToolProperty
public static readonly DependencyProperty RelinkingToolProperty
value = Diagram.RelinkingToolProperty

确定RelinkingTool的受抚养财产。

ResizingToolProperty
public static readonly DependencyProperty ResizingToolProperty
value = Diagram.ResizingToolProperty

确定ResizingTool的受抚养财产。

RotatingToolProperty
public static readonly DependencyProperty RotatingToolProperty
value = Diagram.RotatingToolProperty

确定RotatingTool的受抚养财产。

SelectedGroupProperty
public static readonly DependencyProperty SelectedGroupProperty
value = Diagram.SelectedGroupProperty

确定SelectedGroup的受抚养财产。

SelectedLinkProperty
public static readonly DependencyProperty SelectedLinkProperty
value = Diagram.SelectedLinkProperty

确定SelectedLink的受抚养财产。

SelectedNodeProperty
public static readonly DependencyProperty SelectedNodeProperty
value = Diagram.SelectedNodeProperty

确定SelectedNode的受抚养财产。

SelectedPartProperty
public static readonly DependencyProperty SelectedPartProperty
value = Diagram.SelectedPartProperty

确定SelectedPart的受抚养财产。

SelectedPartsProperty
public static readonly DependencyProperty SelectedPartsProperty
value = Diagram.SelectedPartsProperty

确定只读的 SelectedParts 依赖属性 。

SelectionChangedEvent
public static readonly RoutedEvent SelectionChangedEvent
value = Diagram.SelectionChangedEvent

确定SelectionChanged路由事件。

SelectionCopiedEvent
public static readonly RoutedEvent SelectionCopiedEvent
value = Diagram.SelectionCopiedEvent

确定SelectionCopied路由事件。

SelectionDeletedEvent
public static readonly RoutedEvent SelectionDeletedEvent
value = Diagram.SelectionDeletedEvent

确定SelectionDeleted路由事件。

SelectionDeletingEvent
public static readonly RoutedEvent SelectionDeletingEvent
value = Diagram.SelectionDeletingEvent

确定SelectionDeleting路由事件。

SelectionGroupedEvent
public static readonly RoutedEvent SelectionGroupedEvent
value = Diagram.SelectionGroupedEvent

确定SelectionGrouped路由事件。

SelectionMovedEvent
public static readonly RoutedEvent SelectionMovedEvent
value = Diagram.SelectionMovedEvent

确定SelectionMoved路由事件。

SelectionUngroupedEvent
public static readonly RoutedEvent SelectionUngroupedEvent
value = Diagram.SelectionUngroupedEvent

确定SelectionUngrouped路由事件。

StretchProperty
public static readonly DependencyProperty StretchProperty
value = Diagram.StretchProperty

确定延伸依赖财产。

TemplateAppliedEvent
public static readonly RoutedEvent TemplateAppliedEvent
value = Diagram.TemplateAppliedEvent

确定TemplateApplied路由事件。

TextEditedEvent
public static readonly RoutedEvent TextEditedEvent
value = Diagram.TextEditedEvent

Identifies the TextEdited routed event.

TextEditingToolProperty
public static readonly DependencyProperty TextEditingToolProperty
value = Diagram.TextEditingToolProperty

确定TextEditingTool的受抚养财产。

TreePathProperty
public static readonly DependencyProperty TreePathProperty
value = Diagram.TreePathProperty

确定TreePath的受抚养财产。

UnloadingClearsPartManagerProperty
public static readonly DependencyProperty UnloadingClearsPartManagerProperty
value = Diagram.UnloadingClearsPartManagerProperty

确定UnloadingClearsPartManager的受抚养财产。