NetXP 3.0 Reference

DockingManager.AddDockObjectWithState Method 

Will create an appropriate Window for hosting the provided DockObject and place inside a new DockRegion which is placed according to the State given.

[Visual Basic]
Public Function AddDockObjectWithState( _
   ByVal c As DockObject, _
   ByVal newState As State _
) As WindowObjects
[C#]
public WindowObjects AddDockObjectWithState(
   DockObject c,
   State newState
);

Parameters

c
The object.
newState
The state.

Return Value

The window.

See Also

DockingManager Class | NETXP.Controls.Docking Namespace