English 中文(简体)
视窗电话清单
原标题:Windows Phone ListView Item Animation

我从密码X下载了用于Windows的银灯工具包。 在“demo I”中,主要观点是,在列出物品时,主要观点是“StackPanel”,并用纸质标明这些物品,类似于本土“Windows”电话。 在试图说明它们是如何做到的时,我看到在网页顶端加上以下XAML:

<toolkit:TransitionService.NavigationInTransition>
    <toolkit:NavigationInTransition>
        <toolkit:NavigationInTransition.Backward>
            <toolkit:TurnstileTransition Mode="BackwardIn"/>
        </toolkit:NavigationInTransition.Backward>
        <toolkit:NavigationInTransition.Forward>
            <toolkit:TurnstileTransition Mode="ForwardIn"/>
        </toolkit:NavigationInTransition.Forward>
    </toolkit:NavigationInTransition>
</toolkit:TransitionService.NavigationInTransition>
<toolkit:TransitionService.NavigationOutTransition>
    <toolkit:NavigationOutTransition>
        <toolkit:NavigationOutTransition.Backward>
            <toolkit:TurnstileTransition Mode="BackwardOut"/>
        </toolkit:NavigationOutTransition.Backward>
        <toolkit:NavigationOutTransition.Forward>
            <toolkit:TurnstileTransition Mode="ForwardOut"/>
        </toolkit:NavigationOutTransition.Forward>
    </toolkit:NavigationOutTransition>
</toolkit:TransitionService.NavigationOutTransition>

我最初的假设是,各州有这种估计,但我似乎无法说明它们如何发挥作用。 上述十国集团与下文其他各点之间没有明显的联系。

任何ti? 我试图获得一份名单,就把这种新闻视像化为乌有。

最佳回答

您列出的图表是该网页浏览时所用的过渡图。 象你实际回顾的那样,它所掌握的是Tilt animations,也是在银灯工具包中。

在你已经下载该工具包时,你刚刚需要确保把该工具包作为你的项目的参考添加,然后在开放电话中在你网页上添加以下代码: 电话应用 页: 1

xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
toolkit:TiltEffect.IsTiltEnabled="True"

这将自动增加所有Buttons和BoxItems,产生蒂尔效应。 如果你想要其他物品产生蒂尔效应,你就可以简单地在项目标上添加工具包:TiltEffect.IsTiltEnabled=“True”。

详情请见:

问题回答

暂无回答




相关问题
problem regarding transition

How to put transition on a web page? I have tried, but it doesn t worked on internet explorer. how to add transition during opening page? transitions effects like fades,dissolves etc. same as in ppt ...

State based testing(state charts) & transition sequences

I am really stuck with some state based testing concepts... I am trying to calculate some checking sequences that will cover all transitions from each state and i have the answers but i dont ...

Transitioning from C# to C++, good references?

I ve just completed my second OOP class, and both my first and second classes were taught in C#, but for the rest of my programming classes, we will be working in C++. Specifically, we will be using ...

iPhone view switching - curl transition

I m loading a view in my app with the following code: - (void)showPicker { ImagePickerViewController *imagePickerView = [[ImagePickerViewController alloc] initWithNibName:@"ImagePickerViewController" ...

how to transition from C# to python?

i feel like i m going back to the stone age. how do i relearn to develop without intellisense (pydev intellisense doesn t count).. in general, how does one successfully leave the comfort of visual ...

热门标签