MindFusion.Wpf Pack Programmer's Guide
Diagram.DefaultControlType Property
See Also
 





Gets or sets the type of the controls that will be hosted by default in newly created ControlNode objects.

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

 Syntax

C#  Copy Code

public Type DefaultControlType { get; set; }

Visual Basic  Copy Code

Public Property DefaultControlType As Type

 Property Value

A reference to the System.Type that specifies a class of WPF controls to create.

 Remarks

DefaultControlType must be set to a subclass of UIElement. In addition, the type must provide a constructor that takes no parameters.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace