Sam Naseri's Blog
Some .Net development notes and maybe some general writings ....
Pages
Home
Ve Parser
Thursday, November 29, 2012
A behavior to keep DataGrid's SelectedItem into View
The following simple behavior will forces a DataGrid to keep its SelectedItem into view. The way that it works is simply hooking SelectionChanged event and calling DataGrid.ScrollIntoView method.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment