DataGridView中的滚动条 [英] Scroll bars in DataGridView
问题描述
您好,
我的Windows窗体应用程序(C#)中有一个DataGridVew控件。在这个特定的任务中,我使用系统进程填充它,就像在任务管理器中一样,但是当你使用Win10时,我只有两列和大量的行。
我希望垂直滚动条出现,但它没有。我不希望出现水平条,因为这两列不会覆盖整个DateGridView窗口。
I have a DataGridVew control in my Windows Forms Application (C#). In this particular task I populate it with System processes like in the Task Manager but I have only two columns and a large number of rows as you can expect when you are working with Win10. I expect the vertical scroll bar to appear but it does not. I don't expect the horizontal bar to appear because the two columns do not cover the whole of the DateGridView window.
条形图在属性窗口中都设置为。
The bars are set to both in the properties window.
为什么会这样?
谢谢, - MyCatAlex
Thanks, - MyCatAlex
推荐答案
您好MyCatAlex,
Hi MyCatAlex,
欢迎来到MSDN论坛。
Welcome to the MSDN forum.
请参阅您的说明,您的问题是关于Windows窗体开发和我们的论坛是讨论VS IDE,我将帮助您将此线程移动到相应的论坛以获得更好的支持,感谢您的理解。
Refer to your description, your issue is about the Windows Forms development and our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum for a better support, thank you for your understanding.
祝你好运,
Sara
这篇关于DataGridView中的滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!