Method Save
| Improve this Doc View SourceSave()
Saves the DockItem.
Declaration
protected virtual object Save()
Returns
Type | Description |
---|---|
System.Object | The saved object instance represents this DockItem. The default implementation returns string of the type when HideOnPerformClose is true, 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 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.