日期:2014-05-20  浏览次数:21082 次

wpf怎么实现划屏效果
使用wpf怎么实现划屏效果??请高手指教!!非常非常感谢!!

------解决方案--------------------
C# code

 <Grid Width="500" Height="300">
        <InkCanvas>
            
        </InkCanvas>
    </Grid>

------解决方案--------------------
是不是类似android桌面切换的效果
------解决方案--------------------
使用WPF的动画。
------解决方案--------------------
我做了一个简单的Sample:
要翻页,我首先创建了两个UserControl:

1.UserControl1
XML code
<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>

------解决方案--------------------
探讨

引用:
<local:UserControl1 x:Name="UserControlPart1">
<local:UserControl1.RenderTransform>
<TransformGroup>
<TranslateTransform ></TranslateTransform>
</TransformGroup>
</local……