1
I have implemented a MDIParent
with 3 children.
I want to know where the children are but I have no access to any property since: child.position
is always (0,0).
shaman I have:
<mdi:MdiContainer Name="mdiParent"/>
Code:
this.Child.Title = "ChildLoad";
this.Child.Content = this.ChildView;
this.Child.Height = 260;
this.Child.Width = 320;
this.Child.Resizable = false;
this.Child.MaximizeBox = false;
this.mdiParent.Children.Add(Child);
I can start the child at some point by adding the following code later
this.Child.Position = new Point(300, 300);
But after rotating the application, child.position
is always (0,0)
. Even if I move the window daughter.
How do I get the son’s current position in the MdiParent
?
Thank you very much for the answer, solved the problem.
– Diego Tribek
You’re welcome, I’m glad I could help! Mark the answer as correct pf.
– João Martins