System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState Method

Loads user states from the registry into the System.Windows.Forms.PropertyGrid control.

Syntax

public void LoadState (Microsoft.Win32.RegistryKey key)

Parameters

key
The registry key that contains the user states.

Remarks

You can save some of the System.Windows.Forms.PropertyGrid control states, such as the System.Windows.Forms.PropertyGrid.PropertySort and System.Windows.Forms.PropertyGrid.HelpVisible properties, to the registry and load them the next time the user runs your application.

Requirements

Namespace: System.Windows.Forms.ComponentModel.Com2Interop
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0