Compartilhar via


Asset Library

The Asset Library lists all the controls that you can draw on the artboard. The most commonly used controls appear in the Toolbox, but the Asset Library lists all controls that are supported in your Microsoft Expression Blend 2 project.

  • When working on a Windows Presentation Foundation-based application, the Asset Library lists all available WPF controls, control styles that are contained in any resource dictionaries, local styles, custom controls, and media files that you have added to your project.

  • When working on a Microsoft Silverlight 1.0-based application, the Asset Library lists all available system controls, and any media files that you have added to your project.

You can open the Asset Library by clicking the Asset Library Cc294939.0224cabd-5da1-4e01-bddd-4a647401a098(en-us,Expression.10).png button at the bottom of the Toolbox.

The Asset Library while working on a WPF-based application, with the Controls tab selected

Cc294939.fb5b43a1-5657-4240-a2c2-07ca3136559b(en-us,Expression.10).png

Cc294939.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png

Search to filter the list of assets

Cc294939.eb6fad93-f17e-4f62-a926-8c8651862891(en-us,Expression.10).png

Select to show all available assets

Cc294939.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png

Switch between the Gallery view and the Details view of assets

Cc294939.a5d608f2-bba2-48c5-8b15-2c115db86acc(en-us,Expression.10).png

Toggle between system controls (WPF) and the control styles that are listed in any existing resource dictionaries (such as the Simple Styles resource dictionary)

Cc294939.f0c1ff71-7814-42ba-806b-7ea92d616e69(en-us,Expression.10).png

Tabbed categories for assets

Cc294939.15de085f-48f5-41dd-a286-e3dcb4cfd18b(en-us,Expression.10).png

Set the selected item (System Controls or Simple Styles) as the default asset provider for the Asset Library. For example, if you make Simple Styles the default asset provider, then, when you select Button from the Toolbox, you will draw a SimpleButton on the artboard.

Cc294939.alert_note(en-us,Expression.10).gifNote:
When working on a Silverlight 1.0 project, only the System Controls, Media, and Recent tabs are available. Custom JavaScript classes are added to your project programmatically.