I have a listview .On clicking a button i want to maximize the size of listview.Can anybody help to get a way to maximize the listview?
Share
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.
In addition to set explicitly the width and height you can use
DockStyle.Fillmode to automatically stretch the all window area.Edit: if you want the listview to be full screen, you need to container window to be full screen.
To do that you can use:
Where this referred to the form.