ASP.NET Pack Programmer's Guide
DiagramView.Behavior Property
See Also
 





Gets or sets a value indicating how the control responds to user actions.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public Behavior Behavior { get; set; }

Visual Basic  Copy Code

Public Property Behavior As Behavior

 Property Value

A member of the Behavior enumeration.

 Remarks

The property specifies how the control responds to user actions with the mouse. The default value, LinkShapes, facilitates drawing of flowchart diagrams. LinkTables creates table nodes and links while the user draws with the mouse, allowing creation of entity-relationship or class-hierarchy diagrams. There are several more values that can be assigned to the property, that make the control draw single types of items, for example only shape nodes, only control hosts, only links, and so on. These are useful when implementing the ability to select specific drawing tools in applications.

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.WebForms Namespace