I am having problems being able to control the size of a new item as well as keeping the default start position.
By just calling:
documentContainer.Items.Add(newItem);
the new item is positioned correctly, but the size is very small.
Calling:
DocumentContainer.SetMDIBounds(newItem, new Rect(0, 0, documentContainer.ActualWidth * .75, documentContainer.ActualHeight * .75));
first gives me a nice size, but does always places it at 0,0.
Can I find the next start position and put it in the Rect or is there a better way?
Michael