ColumnDefinition MinWidth doesn't work correctly?

I see what you mean - the columns to the left of the yellow one are wider than the columns to the right, even though they are meant to be given the same proportions.

I see what you mean - the columns to the left of the yellow one are wider than the columns to the right, even though they are meant to be given the same proportions. I would say it's a bug, especially when you consider that the following workaround works: I would guess that this bug is related to how the columns are grouped by width...

Perfect answer and a very elegant solution. Thanks. – J W Feb 26 '10 at 9:01 Very interesting, Rob!

Good catch. – Anvaka Feb 26 '10 at 9:52.

It looks like it just the way it works. You've limited gri hey, give all grid columns the same width, but also this column should be at least 250 points. Now the question from WPF to you: Dude, I see you asked me to give each of 9 column at least 250 points, how can I do this in 500 points?

And it makes a decision, to respect your minimum width, but the price is - width of the rest columns. As for the way to do this correctly. What do you mean?

What do you want?

I would want to give all the columns the same width. But when the middle column gets too small it should have a minimum width but the remaining space should be evenly distributed over the other columns. For example, when you replace MinWidth="250" with MaxWidth="10" in the above example you'll see that the remaining space gets evenly distributed.So it works for MaxWidth but not for MinWidth?

– J W Feb 26 '10 at 8:55 Oh. I see your point. And after Rob showed that workaround, I tend to agree.

It's a bug. Sorry for not being helpful but glad you could find a solution :) – Anvaka Feb 26 '10 at 9:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions