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.
Search This Blog
Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts
Tuesday, July 19, 2011
WPF Information
I have faced one problem in the WPF window.
We are showing toggle button in each row of the List view control. It shows 15 items on a page. If you scroll the list view down to check other items which are not visible and again scroll up then you will see above checked items get unchecked.
- To resolve this issue we used
VirtualizingStackPanel.IsVirtualizing="False" VirtualizingStackPanel.VirtualizationMode="Recycling" in the List view in xaml.
We are showing toggle button in each row of the List view control. It shows 15 items on a page. If you scroll the list view down to check other items which are not visible and again scroll up then you will see above checked items get unchecked.
- To resolve this issue we used
VirtualizingStackPanel.IsVirtualizing="False" VirtualizingStackPanel.VirtualizationMode="Recycling" in the List view in xaml.
Subscribe to:
Posts (Atom)