日期:2014-05-20 浏览次数:21288 次
<Grid Width="500" Height="300">
<InkCanvas>
</InkCanvas>
</Grid>
------解决方案--------------------
是不是类似android桌面切换的效果
------解决方案--------------------
使用WPF的动画。
------解决方案--------------------
我做了一个简单的Sample:
要翻页,我首先创建了两个UserControl:
1.UserControl1
<UserControl x:Class="CommonWPFApplication.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid Background="Cyan">
<TextBlock FontSize="36">111111</TextBlock>
</Grid>
</UserControl>
------解决方案--------------------