Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have traced all calls through Visual Studio code map to the critical methods used for painting the rows of data - but can not override anything because they are not public classes but internal classes (datagridrelationshiprow )or internal abstract classes ( DataGridRow ( windows.system.forms ) )

If I could override methods in these classes - I feel I could then change code to change the height from the default based on the content.
Posted
Updated 30-Dec-14 16:16pm
v2

1 solution

It seems resizing the height of a row based on its content - is provided already...just you need to do appropriate setting. Please have a look on following MSDN links:

http://msdn.microsoft.com/en-in/library/74b2wakt(v=vs.90).aspx[^]

http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.autosizerowsmode(v=vs.110).aspx[^]

http://msdn.microsoft.com/en-us/library/ms158610(v=vs.110).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900