Export (0) Print
Expand All

Delete a resource

To delete a resource

  1. In the Resources panel, right-click the resource that you want to delete.

  2. From the drop-down list that appears, click Delete.

    The XAML for the resource is deleted from your document. If there are any objects that still reference the deleted resource, a popup window appears, listing the objects. In this window, you can choose from the following actions:

    • Update the affected properties to reflect the new resource name.

    • Convert the property to a local string value.

    • Reset the properties to default values.

    • Choose not to fix the broken resource references.

NoteNote

In the Existing References Found window, if you choose not to fix anything, there will be build errors unless you create a new resource with the old name before you build your application.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft