[]
        
(Showing Draft Content)

C1.WPF.Diagram.FlexDiagram

FlexDiagram Class

Charting control for visualizing graph-based data.

Inheritance
FlexDiagram
Implements
IDiagram
IChartBase
IStyleProvider
IPalette
IBrushConverter
ISizeProvider
ILegendLabelsProvider
ISupportBatchUpdate
IChartSerializer
Namespace: C1.WPF.Diagram
Assembly: C1.WPF.Diagram.dll
Syntax
[TemplatePart(Name = "canvas", Type = typeof(RenderCanvas))]
[TemplatePart(Name = "ButtonZoomIn", Type = typeof(Button))]
[TemplatePart(Name = "ButtonZoomOut", Type = typeof(Button))]
[TemplatePart(Name = "ButtonZoomReset", Type = typeof(Button))]
public class FlexDiagram : FlexChartBase, IDiagram, IChartBase, IStyleProvider, IPalette, IBrushConverter, ISizeProvider, ILegendLabelsProvider, ISupportBatchUpdate, IChartSerializer
<TemplatePart(Name:="canvas", Type:=GetType(RenderCanvas))>
<TemplatePart(Name:="ButtonZoomIn", Type:=GetType(Button))>
<TemplatePart(Name:="ButtonZoomOut", Type:=GetType(Button))>
<TemplatePart(Name:="ButtonZoomReset", Type:=GetType(Button))>
Public Class FlexDiagram
    Inherits FlexChartBase
    Implements IDiagram, IChartBase, IStyleProvider, IPalette, IBrushConverter, ISizeProvider, ILegendLabelsProvider, ISupportBatchUpdate, IChartSerializer

Constructors

Name Description
FlexDiagram()

Creates an instance of FlexDiagram.

Fields

Name Description
ChildItemsPathProperty

Identifies the ChildItemsPath dependency property.

DirectionProperty

Identifies the Direction dependency property.

EdgeRoutingProperty

Identifies the EdgeRouting dependency property.

NodeTemplateProperty

Identifies the NodeTemplate dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

Properties

Name Description
ChildItemsPath

Gets or set the name of property for child items.

Direction

Gets or sets the diagram layout direction.

EdgeRouting

Gets or set the edge routing.

Edges

Gets collection of edges.

InteractionMode

Gets or sets the interaction mode.

NodeTemplate

Gets or sets the node template.

Nodes

Gets collection of nodes.

RenderCanvas
ScaleMode

Gets or sets the scale mode.

SelectionMode

Gets or sets the selection mode.

Methods

Name Description
GetRenderer()
GetStyle(string)
HandleTooltip(Point)
HitTest(double, double)

Returns hit test info about the point at the specified coordinates.

Invalidate()
OnApplyTemplate()

Invoked when applying control template.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Events

Name Description
NodeCreated

Fires when node has been created.

NodeRendered

Fires when node has been rendered.

NodeRendering

Fires before rendering node.