Editing Lync Control visual templates

Beyond the basics topic

Learn about the concept of customizing the visual template of Microsoft Lync 2013 Controls to provide a customized visual appearance in your application.

Applies to: Lync 2013 | Lync Server 2013

In this article
Editing overview
Additional resources

Editing overview

Assigning a new visual template to a Microsoft Lync Control permits fine-grained control over layout and design. With a new template, the Lync Control can be altered to match preexisting corporate or application styles.

To customize the visual template ("retemplate") of a control:

  1. Define a Style property targeting the control you'll modify in XAML.

  2. Set the Template property on the style to a new ControlTemplate instance that incorporates your design.

  3. Apply your new Style to the control.

To create a new ControlTemplate, edit a copy of the existing template for the control you customize. A simple way to get a copy of the existing template for a control is to use Microsoft Expression Blend 4.

See also