DockItem.Save Method

DevZest WPF Docking

DockItemSave Method
Saves the DockItem.

Namespace: DevZest.Windows.Docking
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
protected virtual Object Save()
Protected Overridable Function Save As Object

Return Value

Type: Object
The saved object instance represents this DockItem. The default implementation returns string of the type when HideOnPerformClose is , otherwise returns the DockItem itself. The derived class can override this method to provide its own implementation.
Remarks
When saving state of DockControl by calling DockControl.Save, the returned object instance is set as Target property of DockItemReference. This provides the flexibility that any object instance can be saved for the DockItem.
See Also