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

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
0
Murray Brown
Asked:
Murray Brown
  • 2
  • 2
2 Solutions
 
Ioannis ParaskevopoulosCommented:
Hi,

Have a look at this article.

Giannis
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi
Which article?
0
 
Ioannis ParaskevopoulosCommented:
0
 
CodeCruiserCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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