VB.net DataGridView resizing

Hi

I have a DataGridView on a TaskPane in my VB.net Excel add-in.
I need the user to be able to resize the DataGridView, which is placed
in a very specific part of the TaskPane so as to be visible.
I tried using the dock property as suggested in an article I found,
but it moved the DataGridView away from its visible location
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Ioannis ParaskevopoulosConnect With a Mentor Commented:
0
 
Ioannis ParaskevopoulosCommented:
Hi,

Have a look at this article.

Giannis
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi
Which article?
0
 
CodeCruiserConnect With a Mentor Commented:
You want datagridview to resize itself as the task pane gets resized right? Try setting its Anchor property to all four sides.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
All Courses

From novice to tech pro — start learning today.