How to Extract Default Control Template In Visual Studio?

前端 未结 6 458
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-22 09:07

I\'m wondering how I can extract (get a copy) of the Default Template of a given control using Visual Studio. I know this can be done with Expression Blend (right click a co

6条回答
  •  渐次进展
    2020-11-22 09:53

    From Visual studio - right click the control, choose properties,

    In the properties window look for the Template Property and right click it, choose Extract Value To Resource

    That will create a copy of the template in the XAML for you to work on.

提交回复
热议问题