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

The Archive Base Latest Questions

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

I have added the images dynamtically from a url to panorama item. I need

  • 0

I have added the images dynamtically from a url to panorama item. I need the width to be 800 which the image should be in the next item space also. For that in my previous application I have set the orientation to horizontal in Xaml. But no i need to set in code but i cant is there any way to do that.

private void AddItem(string uri, string header)
    {
        var panoramaItem = new PanoramaItem();
        panoramaItem.Width = 800;
        panoramaItem.Height = 550;

        panoramaItem.Header = "";
        var grid = new Grid();

        var image = new Image();

        image.Source = new BitmapImage(new Uri(uri, UriKind.RelativeOrAbsolute));

        panoramaItem.Content = image;
        pan.Items.Add(panoramaItem);
    }
  • 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:36:31+00:00Added an answer on May 30, 2026 at 8:36 am

    PanoramaItem has an Orientation property for handling scrolling direction. It takes value of System.Windows.Controls.Orientation enum in System.Windows assembly. Your code should looks like:

    using System.Windows.Controls;
    

    And orientation assigment:

    panoramaItem.Orientation = Orientation.Horizontal;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an image which is added to the project. In the simulator it
I have an image editing application, and I have custom adorners which get added
I have slideshow, and I want to show Big images, I added to [NSOperation
I have added multiple image upload to my site using HTML api's. I have
I have added an image to my form's resource file, myForm.resx, and I would
I have a DataTemplate containing an Image. To the Image I added a ContextMenu
I have a custom list, and I've added a 'Page Image' field by clicking
I have images being dynamically added to a page, I don't seem to be
I have a basic image gallery with four thumbnails and four large images one
I have a folder with a few images, these images are added by user

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.