Hello,
Is there a way to determine the grid's desired height. This is simple enough to do by setting AutoFit to be false and checking the actual height, but I want to do this in one call from code.
The reason I'm doing this is I want to toss the grid into a ViewBox and need to determine how tall the grid should be to find out whether the grid should expand or have a fixed height with scrolbars.
Thanks
Hello MikeHoyle,
I was looking into your requirements and by default the visual elements for records and the fields are not generated on load and the grid recycle its visual elements in order to improve the performance. This is why I believe that currently we don’t expose a property which can return the actual height of the control including the currently none-visible records. However depending on your scenario I believe that the following forum post may help you resolve your issue:
http://community.infragistics.com/forums/t/11204.aspx
Could you please provide me with some additional information about the design you are trying to achieve, and is there any specific reason you are trying to use ViewBox, so I can be able to point you to some build in functionality of the XamDataGrid that you can use.
Thanks in advance.
I am just checking the progress of this issue? If you still need any assistance on the matter do not hesitate to ask.