自定义控件
1、结构说明
2、样式模板[Windows主题相关] Themes目录名称不能修改 Generic.xaml可以修改,并不是随意修改
3、视觉状态(不是自定义控件独有 用户控件也可以用)
.NETCore 开源的代码里面移除这块内容
4、关键特性
TemplatePart、TemplateVisualState
StyleTypedProperty
CategoryAttribute
<Window x:Class="Zhaoxi.CustomControl2.Lesson.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns