12-06-2012, 09:57 PM
First sorry for not answering for so long - this post somehow slipped through.
I do not fully understand your problem.
First, if you are using Canvas as ZoomPanel's content, that you need to specify its size - either in xaml or in code behind. You can specify any size you want.
You can also specify any size to ZoomPanel or let ZoomPanel's parent to define its size - as in the "Zoom to object example" where the size of ZoomPanel is defined by the parent grid (ZoomPanel takes the whole size of Column 0).
You written that you need to fix the size, but I do not understand what this could mean (apart from setting width and height)
I do not fully understand your problem.
First, if you are using Canvas as ZoomPanel's content, that you need to specify its size - either in xaml or in code behind. You can specify any size you want.
You can also specify any size to ZoomPanel or let ZoomPanel's parent to define its size - as in the "Zoom to object example" where the size of ZoomPanel is defined by the parent grid (ZoomPanel takes the whole size of Column 0).
You written that you need to fix the size, but I do not understand what this could mean (apart from setting width and height)
Andrej Benedik

