I would like to set a minimum width and height on my split panes so that, when added or resized, they will never be a tiny square etc.
However, when I do this, on dragging the panes around, I occasionally get an ArgumentException with message "Width/Height must be non-negative". Oddly, it doesn't happen all the time. Other times, weird stuff happens - like the panels get cut off.
Anyone else seen anything like this?
Hello,
Your issue appears to be resolved in the latest Service Release. To obtain this release, please see the following post:http://community.infragistics.com/forums/t/29398.aspx
I also created a support request on your behalf should you need to follow up regarding this issue:https://ko.infragistics.com/Membership/MySupport.aspx
Thank you muchly. =D
Thanks for the sample. I was able to reproduce the issue and will see about getting a case created for you.
Attached is a sample solution in which it happens consistently. Try dragging and docking pane1 to any edge of the main window (without resizing the window).
If that doesn't work, the stack trace is in a text file in the attached solution.
Obviously, this doesn't reflect my actual project - it's pretty clear here that the exception gets thrown because initially there isn't enough space in the window to contain all the panes at their min width/height. Even that being the case, the exception that gets thrown crashes the application - obviously undesirable - so any input from you guys would be appreciated.
By the way, I'm using 9.1.20091.2075.
Thanks for your time.
I can't say that I've seen that occur but if you can post a callstack, we may be able to use that to ensure that we don't cause that exception.