Hi,
Is there an straight forward way of finding the height of the "datapart" of the grid. (Assuming the number of rows can vary so that cant be used for calculation.).
XamGrid = "headerPart" + "datapart"
Im only interested in the "square" that contains the data. Meaning im looking for height excluding any scrollbar also. "The inner square only". (if this makes sence)
regards
Øyvind Johnsen
Hi Oyvind,
Really the only way to do this would be to walk the VisualTree and get a reference to the RowsPanel object that can be found in the ControlTemplate of the XamGrid.
May i ask what you're trying to accomplish?
-SteveZ
Well that was what i reconed. Thanks anyways :)
I need this is relation to setting PageSize for some printing functionality.
Ø