Search
DiagramView.AdoptHostedControls Method
See Also
 





Adopts controls hosted in other views and moves them to this view.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public void AdoptHostedControls (
    bool onlyUnparented
)

Visual Basic  Copy Code

Public Sub AdoptHostedControls( _
    onlyUnparented As Boolean _
)

 Parameters

onlyUnparented

true if only controls that currently do not have a parent view are adopted; false to adopt all controls.

 Remarks

This method is useful when displaying ControlNode objects in multiple views. For example, you might want to invoke it when a view becomes the topmost window in a MDI application.

 See Also