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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:09:59+00:00 2026-06-05T22:09:59+00:00

I need to achieve layout like shown on my sketch. Multiple columns – user

  • 0

I need to achieve layout like shown on my sketch.

  1. Multiple columns – user can adjust width
  2. Separated vertically into 2 zones – user can adjust heigth
  3. Each column will have multiple items inside – I will use List for that

Should I use Grid for this? Or DataGrid will be more appropriate? I afraid that Grid will give me issues with splitting the way I want but I wonder if DataGrid will be to “heavy” for such scenario?

Also, everything will be heavily styled so ease of doing it is important too.

EDIT:

Forgot to mention couple things:

  1. Number of columns will not be fixed but will be limited – up to 7
  2. I will inject views into those “cells”
  3. Is it possible to hide/show columns in MVVM scenario? I’m thinking if I use GridSplitter and bind splitter visibility then just because I can hide splitter and remove content from column if it’s “width” set to “Auto” – I will achieve scenario of “hiding” it.

enter image description here

  • 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-05T22:10:01+00:00Added an answer on June 5, 2026 at 10:10 pm

    IMHO, considering the number of columns is fixed, Grid is the way to go here. You’ll need to have some logic to set MaxHeight of the first row so the user won’t be able to drag the horizontal splitter bellow the bottom of the grid (yes, I know, it should be the default behavior… :().

    Same goes for the MaxWidth of each column. Only it’s more complex as you have to take into account the actual width of all columns. Also, you’d need to update the width of all columns when one of the vertical splitters is dragged, so the overall width of the grid stays the same.

    DataGrid will be overkill and you won’t gain nothing valuable – the vertical splitters will be taken care of, on first look – but then you have scroll bars that you have to consider, disabling them will mess with the ability to re-size columns. Also, the horizontal splitter will be available only in row header and not across all the width of the control. Moreover, calculating the height of the first row will have to be done manually, and then coerced somehow upon the data grid.

    Now that I think about it, I’d probably go with a custom panel (MyPanel) and a custom splitter (MySplitter) which inherits Thumb.

    For the lists, I’d probably go with HeaderedContentControl and a custom control template.

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

Sidebar

Related Questions

Using plain old HTML, how can I achieve a layout like this? I've got
I want a Layout like this: But my code doesn't work. I can't achieve
I need to achieve something like a folder view in Springboard, when you press
Need draw a graph with dot/graphviz like this image: The texts can be above
I'm trying to achieve a layout in html that looks exactly like this when
I need to achieve some kind of extensibility for a custom project template. Having
I need to achieve the following query - tags is an internal array in
First of all: What I need to achieve is write an Xml document Header,
I'm having an CSS problem, i need to achieve this article div#comments-wrapper ul.sub-comment:before {
$(#mute).click(function(){ $(#audioplayer)[0].muted = $(#audioplayer)[0].muted; $(#message).text(Volume muted); }) What I need to achieve is when

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.