Where can i find the default WPF Control templates?

前端 未结 5 1110
萌比男神i
萌比男神i 2020-12-13 12:50

As per this MSDN link,

There is no way to replace only part of the visual tree of a control; to change the visual tree of a control you must se

5条回答
  •  情书的邮戳
    2020-12-13 13:19

    I arrived at this question via Google a few times, and could not see the link I wanted, so here it is...


    • WPF styles and templates (These are not actually the defaults. I recommend avoiding these, and extracting them from Blend instead.)
    • Silverlight styles and templates

    These links have the following info for each framework control:

    • Named template parts
    • Visual states
    • Full XAML default control template and resources

提交回复
热议问题