i want to resize c# data grid view column to a custom size. how i can do this?
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.
Set the DataGridViewColumn.Width Property.
You can do this either in the Visual Studio Designer or through code:
You should be aware that the DataGridViewColumn.AutoSizeMode Property setting can affect a column’s width too.