Maximum size of content
#1
I am using ZoomPanel with a windows canvas. How do I set the size of the content. I.E. the canvas control.

I know how to set the height and width of the canvas but does that increase the zoomable area?

I need a very large canvas and setting the size doesn't seem to effect the drawing area.
Sorry if this is a dumb questions. I am evaluating the product.
#2
I see that you are new to WPF.

There the objects on the Canvas are absolutely positioned and have their size defined by themselves - this means that they are not moved or resized when the Canvas is moved or resized.

To resize the ZoomPanel when its parent is resized, put it into Grid object.

To learn using WPF I would highly recommend "WPF Unleased" book by Adam Nathan.
Andrej Benedik
#3
(03-16-2018, 03:24 PM)abenedik Wrote: I see that you are new to WPF.

There the objects on the Canvas are absolutely positioned and have their size defined by themselves - this means that they are not moved or resized when the Canvas is moved or resized.

To resize the ZoomPanel when its parent is resized, put it into Grid object.

To learn using WPF I would highly recommend "WPF Unleased" book by Adam Nathan.

abenedil, not new to WPF just asked the question very badly. It had appeared that the zoompanel was not scrolling to the full extent of my wpf canvas which is about  12000X10000. I was wrong. 

I found the answer to my question. 

Thanks for answering. I will try to be more clear next time.
  


Forum Jump:


Users browsing this thread:
2 Guest(s)