WEB开发网
开发学院图形图像Flash Skinning Silverlight controls just got easier 阅读

Skinning Silverlight controls just got easier

 2008-10-24 11:46:28 来源:WEB开发网   
核心提示: then right-click on the Thumb now on the design surface and choose to edit that template and now you’ll see that you can edit the Thumb&rsq

Skinning Silverlight controls just got easier

then right-click on the Thumb now on the design surface and choose to edit that template and now you’ll see that you can edit the Thumb’s template rather simply:

Skinning Silverlight controls just got easier

If I wanted to I can remove the three elements that make up the HortizontalThumb and make my Thumb an Image of myself (horrible design, but proving a point):

Skinning Silverlight controls just got easier

I chose ScrollBar in this post, but you can do this with any of the controls and the process is the same. This now makes skinning a bit more within a closer reach to most. The reach for developers might be a bit further if you have no design skills…but I’ll gladly send you my picture if you want to use it as your navigational Thumb for ScrollBar.

One other tip is that when you have an element on the design surface that has a template skin attached to it, Blend will help you get there even faster rather than having to right-click further. At the top there is a breadcrumb like trail and if you are on an element that has a template there will be a “Template” link you can click directly on:

Skinning Silverlight controls just got easier

上一页  1 2 3 

Tags:Skinning Silverlight controls

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接