Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1095
How to find the height of the "datapart" of the XamGrid
posted

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

Parents
  • 40030
    Verified Answer
    Offline posted

    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

Reply Children
No Data