Silverlight Panorama Control: Overlay Control?

In this image, the contents of one panorama object flows to the previous element:

wp7 panorama

How to do this in Expression Blend / using XAML?

Here is my XAML:

<controls:Panorama Margin="0,0,-1732,8" Grid.Row="1" Title="ODP"> <controls:PanoramaItem Header="new"> <local:StoryList/> </controls:PanoramaItem> <controls:PanoramaItem Header="few"> <local:StoryList/> </controls:PanoramaItem> <!-- ... --> 

It works, but the content does not overlap, so it becomes more difficult for the user to know that he can scroll.

+4
source share
2 answers

Is it because you have a margin set in your panorama? or because you got more things in your grid?

Why do you have a panorama on line 1? what's on line 0?

The default sample has the following:

 <Grid x:Name="LayoutRoot" Background="Transparent"> <!--Panorama control--> <controls:Panorama Title="my application"> <controls:Panorama.Background> <ImageBrush ImageSource="PanoramaBackground.png"/> </controls:Panorama.Background> 

no margins and no other controls in the grid.

0
source

It depends on the width of the panorama. If it is less than the width of the screen, you should be able to view it. If it is larger than the width of the screen, it can be cropped unless you specify that it occupies more than 1 page.

If you do not see the next page, I suspect that you accidentally turned on spanning.

0
source

All Articles