Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows phone 7 如何在windows phone 7中更改全景水平宽度_Windows Phone 7_Wrappanel_Panorama Control - Fatal编程技术网

Windows phone 7 如何在windows phone 7中更改全景水平宽度

Windows phone 7 如何在windows phone 7中更改全景水平宽度,windows-phone-7,wrappanel,panorama-control,Windows Phone 7,Wrappanel,Panorama Control,我想在WP7中的panorama中创建一个页面,在内容中使用wrap面板 我想创建一些类似于人物中心的东西,几个中心(即5个),并在宽度上花费比单个全景项目宽度大的东西 我会尝试设置包裹面板宽度、全景项目宽度,但仍然没有机会像PeopleHub那样工作 有人能帮我吗 要更改全景项目的宽度,只需设置方向=“水平”。我想这会解决你的问题 如果要更改全景项目的宽度,只需设置方向=“水平”。我想这会解决你的问题 关于此代码适用于8 TileButton(),但适用于Hubbile <control

我想在WP7中的panorama中创建一个页面,在内容中使用wrap面板

我想创建一些类似于人物中心的东西,几个中心(即5个),并在宽度上花费比单个全景项目宽度大的东西

我会尝试设置包裹面板宽度、全景项目宽度,但仍然没有机会像PeopleHub那样工作


有人能帮我吗

要更改全景项目的宽度,只需设置方向=“水平”。我想这会解决你的问题


如果要更改全景项目的宽度,只需设置方向=“水平”。我想这会解决你的问题


关于

此代码适用于8 TileButton(),但适用于Hubbile

<controls:PanoramaItem Header="home" Orientation="Horizontal" Width="850">
                <Grid>
                    <ListBox Margin="0,0,-12,86" ItemsSource="{Binding Children}" Height="380">
                    <ListBox.ItemsPanel>
                        <ItemsPanelTemplate>
                            <toolkit:WrapPanel Orientation="Horizontal" />
                        </ItemsPanelTemplate>
                    </ListBox.ItemsPanel>
                    <ListBox.Template>
                        <ControlTemplate>
                            <ItemsPresenter />
                        </ControlTemplate>
                    </ListBox.Template>
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Bewise:TileButton ImageSource="{Binding Image}" Text="{Binding Name}" Margin="10" />
                            </Grid>
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </ListBox>
                    <TextBlock Height="48" HorizontalAlignment="Left" Margin="15,389,0,0" Name="textBlock1" Text="view all" VerticalAlignment="Top" FontSize="36" Width="201" />
                </Grid>
            </controls:PanoramaItem>

此代码适用于8 TileButton(),但适用于Hubbile

<controls:PanoramaItem Header="home" Orientation="Horizontal" Width="850">
                <Grid>
                    <ListBox Margin="0,0,-12,86" ItemsSource="{Binding Children}" Height="380">
                    <ListBox.ItemsPanel>
                        <ItemsPanelTemplate>
                            <toolkit:WrapPanel Orientation="Horizontal" />
                        </ItemsPanelTemplate>
                    </ListBox.ItemsPanel>
                    <ListBox.Template>
                        <ControlTemplate>
                            <ItemsPresenter />
                        </ControlTemplate>
                    </ListBox.Template>
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Bewise:TileButton ImageSource="{Binding Image}" Text="{Binding Name}" Margin="10" />
                            </Grid>
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </ListBox>
                    <TextBlock Height="48" HorizontalAlignment="Left" Margin="15,389,0,0" Name="textBlock1" Text="view all" VerticalAlignment="Top" FontSize="36" Width="201" />
                </Grid>
            </controls:PanoramaItem>


这不起作用!如果只是将“方向”设置为“水平”,它会将下一个HunTile带到下一行,它不会增长到下一行。这不起作用!如果只是将“方向”设置为“水平”,它会将下一个HunTile带到下一行,它不会增长到下一行。