Diagram

StockSharp.Xaml.Diagram.GXDiagram

図は、ノードやリンクなどのパーツを表示するレイヤーをDiagramPanelに含む制御です。

継承元: Control

コンストラクター

Diagram
public Diagram()
diagram = Diagram()

スタンダードな値で、モデル、PartManager、LayoutManager、レイアウト、CommandHandler、MouseDownTools、MouseMoveTools、@MouseUpTools、およびCurrentToolを含む様々な定義されたツール特性を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

グリッドセルのドラッグされた部分のポイントを、GridSnapEnabledの値が真の場合、Spot を受け取り、設定します。

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

この図がモデルのデフォルト値であるかどうか、空の@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

InitialDiagramBoundsSpot で指定したポイントをパネルにスポットポイントを付与またはセットします。

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

この図のPanelのPositionプロパティの初期値を取得するか、モデル座標で設定します。

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

この図のPanelのScaleプロパティの初期値を取得または設定します。

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

この図のPanelの Stretchプロパティの初期値を取得または設定します。

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

モデルがILinksModelの場合、LinksSource@ を、取得し、設定します。

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

リンクのデフォルトの外観を決定する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

ToolManagerの検索結果は、マウスダウンイベントで実行するツールを探します。

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

ToolManagerの検索結果は、マウス移動イベントで実行するツールを探します。

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

ToolManagerの検索結果は、マウスアップイベントで実行するツールを探します。

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

グループを含むこの図のノードの読み取り専用コレクション。

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)

文字列を呼び出すことで、トランザクション(モデル変更のコレクション)を解明できます。

tname
ちょうど起こった変更の説明
FindDefault``1
public static T FindDefault<T>(string name)
result = Diagram.FindDefault(name)

このstaticメソッドは、型のデフォルト図リソースを見つけます。

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またはその親要素の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@に電話してください。

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

開催場所は、CurrentTool@に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
新しい値が null の場合、検索の検索結果が見つかったリストから削除されるツール。
subclass
真の場合、マッチングツールはサブクラスである可能性があります。それ以外の場合は、ツールはまったく同じタイプのものでなければなりません。

戻り値: 新しく交換された古いツール

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

トランザクションとロールバック(undo)をRollbackTransactionに呼び出して変更のいずれかを処理します。

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

選択した部分だけを生成します。

part
この図に所属する部分。この値がnullの場合、これは何もしません。
Select
public void Select(IEnumerable<Part> parts)
diagram.Select(parts)

選択したパーツのみのコレクションにすべてのパーツを構成します。

parts
この図に属する部品のIEnumerable <Part>。この値がnullの場合、これは何もしません。
StartTransaction
public bool StartTransaction(string tname)
result = diagram.StartTransaction(tname)

文字列を呼び出すことで、トランザクション(モデル変更のコレクション)を解明できます。

tname
何が起こるかの変化の説明
ToString
public override string ToString()
result = diagram.ToString()

デバッグの利便性のため。

イベント

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

ペーストでイベントを盛り上げます。

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

未グループが提唱するイベントです。

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

LinkDrawnルートイベントを識別します。

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

読み取り専用のリンク依存性プロパティを特定します。

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

NodeCreatedルートイベントを識別します。

NodeResizedEvent
public static readonly RoutedEvent NodeResizedEvent
value = Diagram.NodeResizedEvent

NodeResizedルートイベントを識別します。

NodeRotatedEvent
public static readonly RoutedEvent NodeRotatedEvent
value = Diagram.NodeRotatedEvent

NodeRotatedルートイベントを識別します。

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

TextEditedルートイベントを識別します。

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依存性プロパティを識別します。