Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Restore the default style

You can use the style of a control in Microsoft Expression Blend project to specify triggers (Windows Presentation Foundation (WPF)) or states (Microsoft Silverlight) and properties that will be used as defaults by the control to which the style is applied. The properties (such as the background brush color) will affect the control's appearance, and the triggers or states will affect how the control responds to property changes and events. For example, when the user moves their mouse over a control, the IsMouseOver property changes from False to True and the MouseOver event fires. You can create a style for a button that causes the background color of the button to change when the mouse pointer moves over the button.

At any time, you can restore the default style or template of a control that is drawn on the artboard. For more information, see the "Themes and simple styles" section of the Styling a control that supports templates.

tip noteTip

To restore the default style for a control, you must have applied a different style to it previously. Restoring the default style essentially breaks the link the control had to a style resource.

To restore the default style or template that is applied to an object

  1. On the artboard or in the Objects and Timeline panel, click an object that has a style resource applied to it.

  2. In the Properties panel, locate the Style or Template property, click the property value or click Advanced options Cc295089.12e06962-5d8a-480d-a837-e06b84c545bb(en-us,Expression.40).png, and then click Reset on the shortcut menu. Notice that the green outline disappears from around the property value.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.