How to get width of columnDefinition as gridUnitType star

Jul 22, 2009 at 4:15 AM

Hi everyone,

Here is my situation. I have a window with a grid with 3 columns. First column is star sized, 2nd is pixel (for a gridsplitter) and third is also star sized. On load of window, I retrieve from a config file the size of columnDefinition[0] as the starting size. And on resize of columnDefinition[0]'s content, I save the value of gridlength. Problem is, the value is converted to a pixel (or exact width); I need the star value because that's what on load expects.

Could you give any help and/or suggestions? Thanks