C# 全景延伸矩形超过3页
是否可以将一个矩形或图像扩展到全景视图的3个页面上,目前它仅位于第一页,但我想将其扩展到其他页面上 我不确定我应该设置什么项目的边距或宽度,全景或全景项目或矩形,我尝试了al 3,但仍然无法工作C# 全景延伸矩形超过3页,c#,xaml,windows-phone-8,rectangles,panorama-control,C#,Xaml,Windows Phone 8,Rectangles,Panorama Control,是否可以将一个矩形或图像扩展到全景视图的3个页面上,目前它仅位于第一页,但我想将其扩展到其他页面上 我不确定我应该设置什么项目的边距或宽度,全景或全景项目或矩形,我尝试了al 3,但仍然无法工作 我尝试过上面的代码,但它没有显示任何内容?是的,这是可能的。 在PanoramItem中,只需将Orientation=“Horizontal”,如果使用listbox,只需将itempanel设置为stackpanal Orientation horizonta <controls:P
我尝试过上面的代码,但它没有显示任何内容?是的,这是可能的。
在PanoramItem中,只需将Orientation=“Horizontal”,如果使用listbox,只需将itempanel设置为stackpanal Orientation horizonta
<controls:PanoramaItem Orientation="Horizontal" Header="item1">
<Grid >
<ListBox x:Name="lst">
<ListBox.ItemTemplate>
<DataTemplate>
<Image Margin="10" Source="{Binding}" Width="200" Height="200"/>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</Grid>
</controls:PanoramaItem>
<controls:PanoramaItem Orientation="Horizontal" Header="item1">
<Grid >
<ListBox x:Name="lst">
<ListBox.ItemTemplate>
<DataTemplate>
<Image Margin="10" Source="{Binding}" Width="200" Height="200"/>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</Grid>
</controls:PanoramaItem>