NameChanged Method
NameChanged(XamlObject, String, String)
Finds the XAML namescope for the specified object and uses it to unregister the old name and then register the new name.
Declaration
public static void NameChanged(XamlObject namedObject, string oldName, string newName)
Parameters
Type | Name | Description |
---|---|---|
XamlObject | namedObject | The object where the name was changed. |
System.String | oldName | The old name. |
System.String | newName | The new name. |