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 3810522
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:28:25+00:00 2026-05-19T15:28:25+00:00

I am developing an application that has a dynamic number of PanoramaItems, now currently

  • 0

I am developing an application that has a dynamic number of PanoramaItems, now currently these are all added by binging a list of them to the Panorama by using its ‘ItemsSource’ property.

But the problem comes when I try to add things to the created PanoramaItems. Now, I can add a ListBox, and that works as expected, but I’d really like to add something I have a bit more control over (possibly some type of custom control).

Now, I’ve found a fair few places that show me how to do this by editing the MainPage.xaml, but since I don’t know how many of them I need I cant (I think) do it like that.

The problem is added to by the fact that the PanoramaItem class doesn’t have an ‘Items’ property, just a ‘Content’ one (which is what I think I need).

I think I need to define a .xaml/.cs file for the custom control and then somehow apply that to the PanoramaItem but I’m really not sure

  • 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-19T15:28:26+00:00Added an answer on May 19, 2026 at 3:28 pm

    I’m going to assume here that you’re using a MVVM framework here, so if not, I apologize.

    Your correct in thinking that you’ll probably want to use a user control for the Pano Items. Once you’ve got that going here’s the new XAML code:

    <controls:Panorama ItemsSource="{Binding PanoViewModels}">
         <controls:Panorama.ItemTemplate>
              <DataTemplate>
                   <ctl:PanoItemControl />
              </DataTemplate>
         </controls:Panorama.ItemTemplate>
    </controls:Panorama>
    

    obviously this is simplified, but should get the idea across. In your control you can bind directly to objects contained within PanoViewModels.

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

Sidebar

Related Questions

I am actually developing and application that has around 15 modules, all of them
The application my team is currently developing has a DLL that is used to
Ok, I'm developing an application that has been in pretty much continous development over
I'm developing a small utility application that needs to detect whether another one has
I'm developing a Java application using Eclipse. My project has two source directories that
I'm developing a scientific application that has to estimate (as best as possible) the
we're currently developing an application that makes extensive use of popup windows(*) and have
I'm developing an application that requires testing email. I'm currently using wampserver, but it
When developing an application that sends out notification email messages, what are the best
I'm developing and application that runs as a Windows service. There are other components

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.