# Templates

## Content



One of the main advantages to using a WPF control is that controls are "lookless" with a fully customizable user interface. Just as you design your own user interface (UI), or look and feel, for WPF applications, you can provide your own UI for data managed by **MediaPlayer for WPF and Silverlight**. Extensible Application Markup Language (XAML; pronounced "Zammel"), an XML-based declarative language, offers a simple approach to designing your UI without having to write code.

**Accessing Templates**

You can access templates in Microsoft Expression Blend by selecting the [C1MediaPlayer](/componentone/api/wpf/online-mediaplayer/dotnet-framework-api/C1.WPF.MediaPlayer.4.6.2/C1.WPF.MediaPlayer.C1MediaPlayer.html) control and, in the menu, selecting **Edit Template**. Select **Edit a Copy** to create an editable copy of the current template or **Create Empty** to create a new blank template.

![](https://cdn.mescius.io/document-site-files/images/35d97b39-ed23-40ca-bb1b-90a2e9178ac1/graphics/narrative/templates.png)


> type=note
> **Note**: If you create a new template through the menu, the template will automatically be linked to that template's property. If you manually create a template in XAML you will have to link the appropriate template property to the template you've created.

Note that you can use the [Template](http://msdn2.microsoft.com/en-us/library/ms592524) property to customize the template.

**Included Templates**

Additional templates are also available for **C1MediaPlayer** elements. To access these templates, select the **C1MediaPlayer** control and, in the menu, select **Edit Additional Templates**. Select **Edit a Copy** to create an editable copy of the current template or select **Create Empty** to create a new blank template.

The additional templates described in the table below.

|   **Template**   |   **Description**   |
| --- | --- |
|   BufferingTemplate   |   Template for an overlay over the screen when the state of the content is buffering.   |
|   PausedTemplate   |   Template for an overlay over the screen when the state of the content is paused.   |
|   ScreenExtension   |   Template for an optional overlay of the video area.   |
|   ToolBarExtension   |   Template for an optional extension of the ToolBar that contains the show/hide items/chapter list.   |
|   UnstartedTemplate   |   Template for an overlay over the screen when the state of the content is unstarted.   |