PropertyGrid.IComPropertyBrowser.SaveState Method
Saves user states from the PropertyGrid control to the registry. For a description of this member, see IComPropertyBrowser.SaveState.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- optRoot
- Type: Microsoft.Win32.RegistryKey
The registry key that contains the user states.
Implements
IComPropertyBrowser.SaveState(RegistryKey)This member is an explicit interface member implementation. It can be used only when the PropertyGrid instance is cast to an IComPropertyBrowser interface.
Visual Studio 2005 saves some of the PropertyGrid control states, such as the PropertySort and HelpVisible properties, to the registry and loads them the next time the user runs the application.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.