NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PropertyGrid COMComponentNameChanged Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the COMComponentNameChanged event.

[Visual Basic]
Private Sub PropertyGridName_COMComponentNameChanged( _
   ByVal sender As Object, _
   ByVal e As ComponentRenameEventArgs _
)
[C#]
private void PropertyGridName_COMComponentNameChanged(
   object sender,
   ComponentRenameEventArgs e
);
[C++]
private: void PropertyGridName_COMComponentNameChanged(
   Object* sender,
   ComponentRenameEventArgs* e
);
[JScript]
private PropertyGridName_COMComponentNameChanged(
   sender : Object,
   e : ComponentRenameEventArgs
);

Parameters

sender
The source of the event.
e
A ComponentRenameEventArgs that contains the event data. The following ComponentRenameEventArgs properties provide information specific to this event.
Property Description
Component
Gets or sets the component that is being renamed.
NewName
Gets or sets the current name of the component.
OldName
Gets or sets the name of the component before the rename.

See Also

PropertyGrid Class | PropertyGrid MembersTopic | System.WinForms Namespace