[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 485
  • 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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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