DockControl.Load Method

DevZest WPF Docking

DockControlLoad Method
Loads the window layout.

Namespace: DevZest.Windows.Docking
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
public void Load(
	DockLayout layout,
	Func<Object, DockItem> loadDockItemCallback
)
Public Sub Load ( 
	layout As DockLayout,
	loadDockItemCallback As Func(Of Object, DockItem)
)

Parameters

layout
Type: DevZest.Windows.DockingDockLayout
The specified DockLayout instance.
loadDockItemCallback
Type: SystemFuncObject, DockItem
Callback to load DockItem. This callback takes an Object returned by DockItem.Save method, returns an DockItem instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionlayout is .
InvalidOperationExceptionThe DockItems collection is not empty. Close all DockItem before calling Load(DockLayout, FuncObject, DockItem).
Remarks
Calling this method will clear all undo stack.
See Also