Divider in DataGridView
-
Tuesday, September 18, 2012 6:45 AM
For the GUI application I used the DataGrid where the user can resize the rows and columns.
I have set the divider height and width to 15 .. On running the resize cursor is visible only at certain part of the divider but not on the entire divider. How to make the resize cursor visible on entire divider.
Thanks in advance
- Moved by Mike FengMicrosoft Contingent Staff, Moderator Wednesday, September 19, 2012 10:57 AM WinForms (From:.NET Base Class Library)
All Replies
-
Tuesday, September 18, 2012 6:52 AM
Hi Aparna,
Please post you query to relevant forum (Windows form designer), in order to get quick response.
Regards, http://www.shwetalodha.blogspot.in/
-
Thursday, September 20, 2012 6:28 AMModerator
Hi Shweta,
According to MSDN documents, the extra edge is part of the current column/row, although it will take on the foreground color of the associated DataGridView. The extra edge does not extend the area in which users can double-click to automatically resize a column. To resize a column/row, the user must double-click on the boundary between the divider and the adjacent column/row.
The divider part is actually a part of the column/row, so we can only resize it on boundary between the divider and the adjacent column/row, no matter manually or automatically.
For more details, see http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewrow.dividerheight.aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.dividerwidth.aspx
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Tuesday, October 09, 2012 9:21 AM


