Hello all, I have an issue wherby I have all my labels set to "wrap" so that when the user begins to shrink the window, the labels contract and react accordingly. Once the min. on each label is reached, than the scrollbar appears allowing the user to see all columns. All of that is great, but I've noticed that once the scrollbar is enabled, the user cannot then drag the columns to the right for example to make one column larger. I realize there are min. on each, but with other grids i've seen they also have min. on theirs but still seem to allow the user to drag a column within the grid, and at that point of course the scroll bar shrinks since there is now more real estate in the window because of the growth, that's what i'm looking for.
I know it must just be an attribute I have to set, but to date I can't find it, thank you all.
(I attached a pic to illustrate, as you can see some labels have wrapped and hit their min, now when I try to expand one it is locked and will not expand. Also, i've attached a piece of the xaml from one of the columns.)
<
="Account Number">
>
}">
="ValueConstraint">
= "40"/>
Hello,
I am not sure I understood the whole scenario and was not able to reproduce this.
I am attaching a sample so that you can try to reproduce it or modify it so that I can.
You are saying that when you have reached the minimum width of a field and you try to resize it (with scrollbar visible) it is not possible?
What you attached was just a sample grid, it doesn't have any of the attributes in it that would create what I described. Below i've attached all of the xaml i'm using to create this grid. If you copy this into a project, you should be able to reproduce the issue.
To answer your question, yes that is my problem. Once I minimize the window and the scrollbar populates (as it should) at that point I can't drag a column over to the right in an attempt at viewing more of the contents in that one column. When I try it is locked. I understand why i can't drag it to the left, because it has hit its label/cell min. but i should be able to drag it to the right as far as I want. At that point your scroll bar will shrink, because more real estate has been added due to you making the column bigger.
I know other grids are reacting this way, perhaps it's a problem with the LabelWrapping property, I don't know. I just know something is keeping me from expanding a column once either all columns have hit their min or the scrollbar is enabled. Obviously I can't really isolate the issue since you don't get one without the other. (the scrollbar is enabled because you have hit your min.)
I hope what i've attached helps, any feedback would be much appreciated.
Is there an update on this? If there is more information needed, please let me know. I assume you were able to import the xaml file I attached? If so you should see the issue I'm experiencing. Thank you-
We are not able to reproduce this behavior and we cannot say what's causing it. Can you please provide a sample with this behavior and attach it to your next post or contact the developer support team here.
I've provided quite a few samples in my previous posts. In my first post I provided sample xaml that showed how I have my fields arranged as well as a picture of what was happening, and in my following post I provided a zip file with the entire xaml file as well as the accompanying cs. file.
If you unzip the file I attached previously and bring it into your environment, you should definitely be able to re-create it.
It has been nearly a month since my first posting concerning this topic and no one to date has been able to assist me with finding a solution. Obviously this issue must be a bit more complicated than normal, can someone please escalate this up so that I can communicate with someone that might be able to assist me better? Thank you-
I cannot run your project. It is not possible, because they are many references missing and I have to delete most of your code to compile.
So that is why I created a small sample of my own resembling your structure but am not able to reproduce it.
As I said in my last post, you can contact developer support and reference this forum thread and provide a sample that compiles so that we can investigate this more deeply.