Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7543975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:34:01+00:00 2026-05-30T08:34:01+00:00

Is it possible to move to the next panorama item page when a Listbox

  • 0

Is it possible to move to the next panorama item page when a Listbox item is clicked?

I have tried this below but its giving me a read only error

EDIT: I have figured out how to achieve this but it is setting my background image the same as it would appear in the first item, does anyone know of a way around this?

private void myListBox_Tap(object sender, GestureEventArgs e)
 {
      pano.SelectedItem = 1;
 }

PanoramaPage1.xaml

<!--LayoutRoot contains the root grid where all other page content is placed-->
<Grid x:Name="LayoutRoot">

    <controls:Panorama Name="pano" Title="Trending Now" ItemsSource="{Binding}" FontSize="12">

        <!--Assigns a background image to the Panorama control.-->
        <controls:Panorama.Background>
            <ImageBrush ImageSource="/TrendApp;component/Images/pan.png" />
        </controls:Panorama.Background>
        <controls:Panorama.TitleTemplate>
        <DataTemplate>
                    <TextBlock Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" FontSize="100" Margin="0,50,0,0" />
                </DataTemplate>
            </controls:Panorama.TitleTemplate>
        <controls:Panorama.HeaderTemplate >
            <DataTemplate>
                <TextBlock Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" FontSize="40" Margin="0,50,0,0" />
            </DataTemplate>
        </controls:Panorama.HeaderTemplate >

        <!--Panorama item one-->

        <controls:PanoramaItem Name="p1" Header="Trends">
            <Grid>

                <ListBox ItemsSource="{Binding Trend}"  Foreground="White" Height="494" HorizontalAlignment="Center" Margin="2,12,-13,0" Name="myListbox" VerticalAlignment="Top" Width="431"  TabIndex="10" Tap="myListBox_Tap">
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <TextBlock Margin="0,0,0,10" TextWrapping="Wrap" FontSize="26" Foreground="White" HorizontalAlignment="Left" Name="tblTrend" Text="{Binding TrendItemTag}" VerticalAlignment="Top" />
                                <TextBlock Margin="0,0,0,10" TextWrapping="Wrap" FontSize="26"  HorizontalAlignment="Right" Name="tblTrend2" Text=">" VerticalAlignment="Top" />

                                <Line X1="0" X2="500" Y1="0" Y2="0" VerticalAlignment="Bottom" Fill="White" Opacity="1" Stroke="White" StrokeThickness="3" Margin="0" />
                            </Grid>
                        </DataTemplate>

                    </ListBox.ItemTemplate>
                </ListBox>

            </Grid>
        </controls:PanoramaItem>

        <!--Panorama item two-->
        <controls:PanoramaItem Name="item2" Header="" FontSize="10">

            <Grid/>
        </controls:PanoramaItem>
        <!--Panorama item three.-->
        <controls:PanoramaItem Header="Search">
            <Grid>
                <TextBox Height="75" HorizontalAlignment="Left" Margin="96,12,0,0" Name="textBox1" Text="Search" VerticalAlignment="Top" Width="235" />
            </Grid>
        </controls:PanoramaItem>
    </controls:Panorama>
</Grid>

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:34:02+00:00Added an answer on May 30, 2026 at 8:34 am

    Sorry, the SelectedIndex and SelectedItem are readonly. The only workaround that I know of is setting the DefaultItem like this:

    pano.DefaultItem = myPanoramaItem;

    See also this thread

    This is all pretty ugly because it doesn’t do the animation. On the other hand: I don’t think the control was ever meant to be used this way. I only use this way of setting the current item when returning to the page thought the back-button or getting coming from sleep.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to programmatically move from one panorama page/item to the next and
Possible Duplicate: How to get notified of UITableViewCell move start and end I have
Is it possible to have the seekbar move only when the thumb is moved.
I'm not sure how to do this or even if it's possible. I have
I have a DateTime object and I need to move it to the next
Is it possible inside a loop to either move to next line or temporarily
Is it possible to move hand over hand along restarts like this: (handler-bind ((simple-error
Lightbox gallery style, I have four pictures shown on one page, if I move
I have a feeling the answer to this is going to be not possible,
I have searched Google and Stackoverflow for this question, but I still don't understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.