Clear StatePersistence Entries

31 May 20211 minute to read

In StatePersistence of DockingManager we have five ways to store the state. Similarly, we have ways to clear those entries as given below

  • C#
  • //Deletes the Registry Entries.
    
    DockingManager.DeleteDockState();
    
    //Deletes the persistence file in IsolatedStorage location.
    
    DockingManager.DeleteInternalIsolatedStorage();
    
    //Deletes the specified state file.
    
    DockingManager.DeleteDockState(filename);

    Refer Also

    State Persistence in DockingManager