ControlNode instances represent diagram nodes which can host WinUI 3 controls.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public class ControlNode : DiagramNode |
Visual Basic
Copy Code
|
|---|
Public Class ControlNode |
RemarksA ControlNode instance might be used to implement advanced entity viewers or editors. An instance of any WinUI 3 FrameworkElement-derived class can be assigned to the Control property of the host. That might be a standard WinUI 3 control such as a ListView or your own custom or user control.
If the Behavior property of Diagram is set to DrawControls or LinkControls, then users are allowed to draw control host nodes interactively. Such host nodes will have their Control initialized to an instance of the type specified via DefaultControlType.
Inheritance HierarchySystem.Object![]()
Windows.UI.Xaml.DependencyObject![]()
Windows.UI.Xaml.UIElement![]()
Windows.UI.Xaml.FrameworkElement![]()
Windows.UI.Xaml.Controls.Control![]()
Windows.UI.Xaml.Controls.ContentControl![]()
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.ControlNode
See Also