Search This Blog

Tuesday, July 19, 2011

WPF Information

Issue - I have one list view to which i have bound a data and i have a one search button, and textblock to search names. No, i have clicked on search button it will show whole data with scroll. to see whole data i scrolled the list view down and to view few of them i entered whole or part of name in the textblock and click on the search button then it shows less no. of searched result than actual one with scroll bar.

 Resolution - objListView.ScrollIntoView(objListView.Items[]); in the code.

It actually scrolls to the mentioned position.

No comments:

Post a Comment