Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical scroll bar is not visible when horizantal scroll bar moved to extreme left in wpf datagrid #2794

Siyumii opened this issue Mar 20, 2020 · 2 comments


Copy link

@Siyumii Siyumii commented Mar 20, 2020

I am currently developing a WPF application where it has a WPF data grid. The issue I'm facing here is,when I scroll horizontal scroll bar to extreme left side, Vertical scroll bar is not visible.I have mentioned what I have tried in below. Further,I got this below code snippet using a answer provided for this link

<ScrollViewer HorizontalScrollBarVisibility="Auto"

Any guidance or suggestion will be much appreciated!


This comment has been minimized.

Copy link

@weltkante weltkante commented Mar 20, 2020

Looks like it is working as intended, by putting the ScrollViewer around the entire DataGrid you include the vertical scrollbar in the scrolled region. Maybe you should create an issue for the problem you are trying to solve, not for the side effects you encounter when you try to use a bad workaround.

(I could guess from the linked post that you are trying to scroll the column headers of an empty DataGrid, but that would be (a) just a guess and (b) not really fit into discussion under this issue description. Also I don't really have a solution for that besides that you may need to edit the control template of the DataGrid to change its behavior.)


This comment has been minimized.

Copy link

@gomathip02 gomathip02 commented Mar 26, 2020

Closing this issue as this is by design.

@gomathip02 gomathip02 closed this Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.