[]
        
(Showing Draft Content)

C1.WPF.Docking.C1DockControl.Load

Load Method

Load(XElement)

Recreates the C1DockControl from the saved settings.

Declaration
public C1DockSettings Load(XElement elem)
Public Function Load(elem As XElement) As C1DockSettings
Parameters
Type Name Description
XElement elem
Returns
Type Description
C1DockSettings

Load(XElement, bool)

Not recreates the C1DockTabItem from the saved settings.

Declaration
public C1DockSettings Load(XElement elem, bool preserveTabItems)
Public Function Load(elem As XElement, preserveTabItems As Boolean) As C1DockSettings
Parameters
Type Name Description
XElement elem
bool preserveTabItems

Use this value to decide the DockTabItem's content will be preserved and each DockTabItem will be re-created.

Returns
Type Description
C1DockSettings