Possible Duplicate:
Getting Actual Size of UserControl before rendering
How to override MeasureOverride to find the size of ItemsControl
I had asked a question before which essentially boils down to:
How can I get the actual size of a UserControl having an ItemsControl to which items are dynamically added?
I tried overriding MeasureOverride
as suggested here, but it is not helping.