How/Where to Find Microsoft Default Styles for WPF Controls

后端 未结 2 1963
长情又很酷
长情又很酷 2020-12-16 01:09

I am looking to change the style of a control but I basically want to copy part of a default style. Does anyone know how I can figure out what the default style of a control

2条回答
  •  轮回少年
    2020-12-16 01:56

    Contrary to what Rachel says, the link she provides does not provide the default templates.

    I have seen using System.Windows.Markup.XamlWriter.Save(myObject.Template) that the default templates are completely different from what that site shows.

提交回复
热议问题