概要:

终于知道Silverlight——App.xaml是干什么用的了,不仅可以用来封装样式(类似css),还可以制定控件模版。。。好强大的功能啊。

封装:

继续学习《
<Style x:Key="ell" TargetType="Ellipse">
<!--Style x:Key="此样式名称" TargetType="样式指定的控件"-->
<Setter Property="Fill" Value="Orange"></Setter>
<Setter Property="Width" Value="100"></Setter>
<Setter Property="Height" Value="100"></Setter>
<!--Setter Property="属性名" Value="属性值"-->
</Style>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-10-08
  • 2022-01-08
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-01-26
相关资源
相似解决方案