DiagramLite Programmer's Guide
DiagramHost Members
Constructors Fields Properties Methods
 


A control that hosts DiagramView and handles Diagram interaction with the server side ASPX component NetDiagram.

The following tables list the members exposed by the DiagramHost type.

 Public Constructors

  Name Description

DiagramHost

Initializes a new instance of the DiagramHost class.

 Public Fields

  Name Description

ShowOverviewProperty

Identifies the ShowOverview dependency property.

ShowRulerProperty

Identifies the ShowRuler dependency property.

ShowShapeListProperty

Identifies the ShowShapeList dependency property.

 Public Properties

  Name Description

AppletStartedScript

Gets or sets the name of a JavaScript function that should be executed when the Silverlight control is fully loaded.

Diagram

Gets the hosted Diagram object

ScriptHelper

Returns an object providing helper methods useful when accessing the control's API from JavaScript.

ShowOverview

Gets or sets a value indicating whether to display the overview.

ShowRuler

Gets or sets a value indicating whether to display the diagram with a ruler.

ShowShapeList

Gets or sets a value indicating whether to display the shape list.

 Public Methods

  Name Description

LoadFromString

Loads a diagram from the specified string.

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

SaveToString

Serializes the DiagramHost to a hidden field.

 See Also

DiagramHost Class
MindFusion.Diagramming Namespace