c# winforms: DataGridView scrollbar not showing
17,028
Simply,
myDataGridView.ScrollBars = ScrollBars.Both;
Comments
-
CMA about 2 years
I am new to C# and Winforms..
I am having a problem with my scrollbar in DataGridView.
The vertical scrollbar image does not show, BUT you can scroll the grid using the using the mouse's scroll wheel.
What should be done to properly handle my scrollbar in DataGridView. I have read several solutions but none of them were able to solve this issue. All of my columns already have
Frozen
Property set tofalse
, and I have set theAutoSizeMode
of the problematic column toAllCells
. But didn't worked..-
stakx - no longer contributing about 12 yearsPlease be more specific: What have you tried already?
-
Raab about 12 yearsmyDataGridView.ScrollBars = ScrollBars.Auto
-
CMA about 12 years@stakx: I have editted my question.
-