表面librarycontainer背景图像 [英] surface librarycontainer background image

查看:112
本文介绍了表面librarycontainer背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我观看有关librarycontainer的表面视频,它有透明球作为背景,当点击changeview按钮时,它会在条形图中变为透明胶囊。


我使用librarycontainer in项目,但它只是矩形大小。所以我怎么能像视频节目那样改变。


任何人都可以告诉我方法。


谢谢        


 

  ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < Viewbox Margin =" -2860,-26,-2860,-410"姓名=" View1">

            < s:LibraryContainer


       名称= QUOT; MainLibraryContainer"背景= QUOT;透明"余量= QUOT; 100510,-190,422"的Horizo​​ntalAlignment = QUOT;左"宽度= QUOT; 478"&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;高度= QUOT; 270">

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < S:LibraryContainer.StackView>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP; < S:StackView


&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP; ItemTemplate =" {StaticResource LibraryBarItemTemplate}" />


              &NBSP;&NBSP; < /秒:LibraryContainer.StackView>


&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < S:LibraryContainer.BarView>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP; < s:BarView ItemTemplate =" {StaticResource LibraryBarItemTemplate}" />

             &NBSP;&NBSP;&NBSP; < / s:LibraryContainer.BarView>&
            < / s:LibraryContainer>


        < / Viewbox控件>


&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;

解决方案

您好,


视频中的库容器是容器来自Surface V1。新的Surface V2 SDK有你提到的新版本。


您可以尝试使用Expression Blend更多地模板化它。


希望这个帮助


I watch the surface video about librarycontainer, it has transparent ball as background, when click changeview button ,it change to transparent capsule in bar view.

I using librarycontainer in project, but it just rectangle size. so how can i change like video show.

can anyone tell me method.

Thank you        

 
        <Viewbox Margin="-2860,-26,-2860,-410" Name="View1">
            <s:LibraryContainer
        Name="MainLibraryContainer" Background="Transparent" Margin="100,510,-190,422" HorizontalAlignment="Left" Width="478"       Height="270">
                <s:LibraryContainer.StackView>
                    <s:StackView
                    ItemTemplate="{StaticResource LibraryBarItemTemplate}"/>

                </s:LibraryContainer.StackView>

                <s:LibraryContainer.BarView>
                    <s:BarView ItemTemplate="{StaticResource LibraryBarItemTemplate}"/>
                </s:LibraryContainer.BarView>
            </s:LibraryContainer>

        </Viewbox>

                                               

解决方案

Hello,

The library container from the video is the container from Surface V1. The new Surface V2 SDK has the new one you mention.

You could try to template it more to your needs using Expression Blend.

Hope this helps.


这篇关于表面librarycontainer背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆