This documentation is archived and is not being maintained.

IComPropertyBrowser Interface

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

Allows Visual Studio to communicate internally with the PropertyGrid control.

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

public interface IComPropertyBrowser

The IComPropertyBrowser type exposes the following members.

Public propertyInPropertySetInfrastructure. Gets a value indicating whether the PropertyGrid control is currently setting one of the properties of its selected object.

Public methodDropDownDoneInfrastructure. Closes any open drop-down controls on the PropertyGrid control.
Public methodEnsurePendingChangesCommittedInfrastructure. Commits all pending changes to the PropertyGrid control.
Public methodHandleF4Infrastructure. Activates the PropertyGrid control when the user chooses Properties for a control in Design view.
Public methodLoadStateInfrastructure. Loads user states from the registry into the PropertyGrid control.
Public methodSaveStateInfrastructure. Saves user states from the PropertyGrid control to the registry.

Public eventComComponentNameChangedInfrastructure. Occurs when the PropertyGrid control is browsing a COM object and the user renames the object.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.