Creating an alternate control UI with ControlTemplates


show more Creating an alternate control UI with ControlTemplates provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Creating an alternate control UI with ControlTemplates

There's one thing you can say about UX designers is that they love to play around with the boundaries of UI. Just look at all the changes in the simple button control over the last ten years. There have been flat buttons, pressable buttons, gel buttons and round buttons, and even pastel buttons. They are all clickable and they all initiate an action, but they look different. Silverlight adds something called the control template, which formalizes this process. In Silverlight, every control has a default template, which is supplied by the control author, but you are not limited to this template.

You can design your own, then instruct Silverlight to use your new template whenever it renders the control. This is more powerful than styles, as a style can only supply new property values, not new UI. For this demonstration I'm going to use Expression Blend and I'm going to be editing a button control template. I thought I would show you a few samples first. I'm inside a project call...

Creating an alternate control UI with ControlTemplates
Video duration: 6m 29s 8h 52m Beginner

Viewers:

Creating an alternate control UI with ControlTemplates provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...