Show / Hide Table of Contents

Method Save

| Improve this Doc View Source

Save()

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest