I have created a window as follows:
Window myWindow = new Window();
How can I add a Vertical Scroll Bar to this Windows and make the Scroll Bar only visible if the Height isn’t large enough to show all the elements.
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.
You could add a ScrollViewer element to your window and put the necessary controls into the ScrollViewer control.
Or if you want to code it in the code-behind file you could write