一套ChildWindows的新样式。
如果要移植到你自己的silverlight项目中,请把App.xaml里边的<Application.Resources />中的xaml复制到你项目的App.xaml文件中,然后指定ChildWindow的样式为:
<controls:ChildWindow x:Class="ChildWindowTheme.ChildWindow1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
Width="400" Height="300"
Style="{StaticResource ChildWindowStyle}"
Title="cw1">
附件中带示例源文件。
欢迎您参与更多关于此话题的讨论,本文原创开心银光社区.地址为:http://funsl.com
最新评论
5 天 1 小时之前
5 天 16 小时之前
6 天 19 小时之前
1 周 2 天之前
1 周 2 天之前
1 周 4 天之前
1 周 4 天之前
3 周 2 天之前
6 周 5 天之前
7 周 2 天之前