Export (0) Print
Expand All

Delete a resource

This page applies to WPF and Silverlight 2

  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.

Cc374995.alert_note(en-us,Expression.10).gifNote:

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.

Community Additions

ADD
Show:
© 2014 Microsoft