IComPropertyBrowser::ComComponentNameChanged Event

 

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

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

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

event ComponentRenameEventHandler^ ComComponentNameChanged {
	void add(ComponentRenameEventHandler^ value);
	void remove(ComponentRenameEventHandler^ value);
}

Only a change of value of the property that corresponds to DISPID_Name for the COM object raises the ComComponentNameChanged event.

.NET Framework
Available since 1.1
Return to top
Show: