PropertyGrid.IComPropertyBrowser.LoadState Method (RegistryKey)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Loads user states from the registry into the PropertyGrid control. For a description of this member, see IComPropertyBrowser.LoadState.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

void IComPropertyBrowser.LoadState(
	RegistryKey optRoot
)

Parameters

optRoot
Type: Microsoft.Win32.RegistryKey

The registry key that contains the user states.

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.

.NET Framework
Available since 1.1
Return to top
Show: