Telerik UI for WPF

Edit Control Style in Expression Blend

The purpose of this section is to show you how to edit a Style in Expression Blend.

In order to edit a control style in Expression Blend you need to perform the following instructions:

  • Open your application in Expression Blend.
  • In the "Objects and Timeline" pane (Window->Objects and Timeline) select the Telerik control for which you want to create (modify) a style.

 
Common Styling Create Style In Blend 010

  • Expand the Object -> Edit Style menu.

 
Common Styling Create Style In Blend 020

  • You have three options here:
  • Edit Current - if you choose it, this will open the currently applied style for edit.
Note

If you don't have an applied style to the control, this option will be disabled.

  • Edit a Copy... - edit a copy of the default style. When you select this option a new dialog will be opened.

 
Common Styling Create Style In Blend 030

The "Create Style Resource" dialog will prompt you to select a name for your style, as well as to choose the location where your style will be defined in.

  • Create Empty... - create an empty style for the selected control. When you select this option, the same "Create Style Resource" dialog will be opened. You should select a name for the style, as well as to choose the location where your style will be defined in.

 
Common Styling Create Style In Blend 040

Edit Control Template in Expression Blend

The purpose of this section is to show you how to edit/create a Template for the Telerik WPF controls.

In order to edit a template in Expression Blend you need to perform the following instructions:

  • Open your application in Expression Blend.
Note

You can open your application in Expression Blend directly from your Visual Studio. For that purpose do the following things:

  1. Open your Solution Explorer (View->Solution Explorer or use the Ctrl+Alt+L shortcut).
  2. Select your user controls.
  3. Right mouse button click and select "Open in Expression Blend...".

  • In the "Objects and Timeline" pane (Window->Objects and Timeline) select the RadControl for which you want to create (modify) a template.

 
Common Styling Templating Edit Template In Blend 010

  • Expand the Object -> Edit Template menu.

 
Common Styling Templating Edit Template In Blend 020

  • You have three options here:
  • Edit Current - if you choose it, this will open the currently applied template for edit.
Note

If you don't have an applied template to the control, this option will be disabled.

  • Edit a Copy... - edit a copy of the default template. When you select this option a new dialog will be opened.

 
Common Styling Templating Edit Template In Blend 030

The "Create Style Resource" dialog will prompt you to select a name for your template, as well as to choose the location where your style will be defined in.

Note

Note that Edit a Copy... will not declare you a copy of the default template as a resource in your XAML. Instead, it will create a copy of the default style with a ControlTemplate setter.

  • Create Empty... - create an empty template for the selected control. When you select this option, the same "Create Style Resource" dialog will be opened. You should select a name for the template, as well as to choose the location where your template will be defined in.
Note

In contrast to the "Edit a Copy..." option, the "Create Empty..." will create a new ControlTemplate as a resource in your XAML.

Note

It is not recommended to choose the "Create Empty..." option, unless you are familiar with TemplatedParts for the specific control.