Click here to Skip to main content
15,890,557 members
Articles / Desktop Programming / WPF

Prevent WPF DataGrid Auto-scrolling Due to Clicking in a Wide Column

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
24 Aug 2019CC (ASA 2.5)4 min read 10.9K   138   3  
In full-row selection mode, the WPF DataGrid wants to scroll horizontally when a user clicks on a cell which extends offscreen. This sample project shows one way to prevent it.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions