I have an element containing a RectangleGeometry.
this is in a UserControl later used in a MainWindow.
What i want is the RectangleGeometry to be set as MainWindow size ( or it’s container)
How do i do that?
I Am using C#
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, dosen’t really solve the problem, but as the container size was full size and the window is full size, i just checked the screen resolution and change the rect accordingly.