ControlTemplate for existing controls in WPF

后端 未结 8 1871
野的像风
野的像风 2020-11-22 12:35

How to get existing control\'s ControlTemplate in WPF in XAML format (visual tree)? This is to help to create new ControlTemplate with the help of existing template.

相关标签:
8条回答
  • 2020-11-22 12:54

    The book "Pro WPF in C# 2008", by Matthew MacDonald, includes a Control Template browser in Chapter 15. I believe you can simply download the sample code from the Apress web site.

    0 讨论(0)
  • 2020-11-22 13:02

    You can use a tool like ShowMeTheTemplate

    0 讨论(0)
提交回复
热议问题