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

  • Home
  • SEARCH
  • 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 8865013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:23:58+00:00 2026-06-14T16:23:58+00:00

The app I’m working on uses a grouped GridView. Different templates are being used

  • 0

The app I’m working on uses a grouped GridView. Different templates are being used for different items on display and this is causing me an issue with the layout because the VariableSizedWrapGrid sets the row & column sizes based on the first item in each group.

I’ve tried to use the commonly-suggested solution of PrepareContainerForItemOverride and I’m encountering two problems:

  1. It seems that I can only adjust the height & width around multiples of the column & row spans. That can leave me with quite a bit of wasted space if, say, item #2 needs to have 1.5 x the row height of item #1. I also seem to have to “guess” at what the most appropriate multiple is, which doesn’t seem to be appropriate when apps are supposed to scale dynamically.

  2. If I get the multiples too big, the content is horizontally & vertically centred. I’ve tried changing the alignment from stretch to left in various places but I cannot find which control property to set to get this to work.

Is there a better way of adjusting the item sizes than grid spans? If there isn’t, is there a better way for me to lay out my content with variably sized items?

Thanks.

  • 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-06-14T16:24:01+00:00Added an answer on June 14, 2026 at 4:24 pm

    http://winrtxamltoolkit.codeplex.com/ includes WrapPanel which does the job perfectly. It stacks the individual items either horizontally or vertically and wraps onto the next row/column as required.

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

Sidebar

Related Questions

App I'm working on uses ARC. I wanted it to process large files, so
The app I am working on is supporting android 2.3 upwards. As the download
App A has this BroadcastReceiver in its manifest (within <application>): And this receiver: public
My app has very different UI structures for each orientation. At what stage in
My app compiles to about 80mb. I was under the impression this was quite
My app fails at this line of code: Dim objConnection As New SqlConnection(Application(ConnString)) My
My app uses LoadLibrary to load plugins at run-time and users can accidentally try
App is in prism/mvvm/mef and uses loading by attribute like StockTraderRI. My shell window
App with Facebook SDK SSO was working fine in 2.2, now upgraded Samsung Galaxy
The app I'm working on is relatively simple but it is throwing memory warnings.

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.