childWindows Theme

一套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">

image

原文地址:https://www.cnblogs.com/jacle169/p/2810084.html