Jump to content

Recommended Posts

Posted

The wpf grid layout is a great control. It allows for flexible resizeable UIs

and lets the framework take care of the sizing issues.

 

for example, let's assume you want a gird like this

 

 

 

this gives us a (not uncommon) layout like this (apologies for poor ascii art)

 

+-----------------------------------------------------------------------------------+

|Some Label* ||Another Label***** ||+----------------------------+|

|Line 2 Label||Another line2 Label|||*** ***** ||*

|**************************************************** +----------------------------+|

+-----------------------------------------------------------------------------------+

where the textboxes resize horizontally with window size and list box resizes in both directions. This is great.

 

However it's not so great when you want to change something. For instance I show this GUI to my boss and he says " great, but can you put a title on the first line and a graphic to the left of the rest". Fine, I say, I'll just add another line and another column. but here's the problem. I now have to go through my entire grid and increment every row and column number.

 

There must be a better way than this??

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...