Syncfusion.Tools.Windows


Syncfusion.Windows.Forms.Tools Namespace > DockingManager Class > SaveDockState Method : SaveDockState(AppStateSerializer,Control) Method
A reference to the Syncfusion.Runtime.Serialization.AppStateSerializer instance.

SaveDockState(AppStateSerializer,Control) Method

Saves the dockstate information for the specified dockable control.
Syntax
'Declaration
 
Public Overloads Sub SaveDockState( _
   ByVal serializer As AppStateSerializer, _
   ByVal ctrl As Control _
) 
'Usage
 
Dim instance As DockingManager
Dim serializer As AppStateSerializer
Dim ctrl As Control
 
instance.SaveDockState(serializer, ctrl)
public void SaveDockState( 
   AppStateSerializer serializer,
   Control ctrl
)

Parameters

serializer
A reference to the Syncfusion.Runtime.Serialization.AppStateSerializer instance.
ctrl
Remarks
Takes a snapshot of the control's current dock state in the DockingManager's layout and serializes this information to the persistence medium set in the AppStateSerializer.
AssemblyVersion

Syncfusion.Tools.Windows: 17.4460.0.46

See Also