• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Adjust the the thickness of the Data Grid View

Hi, please refer to the image. How do I adjust the that part of the grid upon loading? I kind of want it thinner, just about the the arrowhead inside. I'm using C# .NET Windows Forms. Thanks in advance.
thickness.JPG
0
0nepiece
Asked:
0nepiece
  • 2
  • 2
1 Solution
 
chinawalCommented:
dataGridView1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;

dataGridView1.RowHeadersWidth = 10;
0
 
0nepieceAuthor Commented:
Thanks!! It adjusted the width of that part of the grid just right. What's the "DisableResizing" for?
0
 
chinawalCommented:
If at all , at Design time, you have set it as Auto-Rezing, you would need first line, otherwise, you do not need first line.
0
 
0nepieceAuthor Commented:
Ok got that! Thanks again!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now