Search
DiagramItem.CreateRenderer Method
See Also
 





Returns a FrameworkElement used to render this item in the DiagramView.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

protected virtual FrameworkElement CreateRenderer (
    bool activeView,
    bool lightweight
)

Visual Basic  Copy Code

Protected Overridable Function CreateRenderer( _
    activeView As Boolean, _
    lightweight As Boolean _
) As FrameworkElement

 Parameters

activeView

Indicates whether the target view is currently active.

lightweight

True to create light-weight renderer.

 Return Value

A FrameworkElement representing this item on screen.

 See Also