I'm using the VirtualizingWrapPanel in a MS Listbox in an OOB app.
The Up / Down / PGUP / PGDN keys keep the selection in view if used from the selected (clicked on) item. This is as expected.
However, if I hit the HOME or END keys, the GUI selection disappears however the selected item is corrext FIRST / LAST. Now, if I use the cursors, the SelectedItem / SelectedIndex of hte Listbox correctly changes but the selection remains hidden until the SelectedItem / SelectedIndex is in the viewport. Then Up / Down / PGUP / PGDN keys act as expected.
Now, if you select an item in the middle of the Listbox range, hit the HOME or END key, switch app focus away, then switch app focus back, the press an arrow key, the expected next SelectedItem / SelectedIndex you would expect to be the item related to the SelectedItem / SelectedIndex after Pressing the HOME / END key but infact it is from the last item selected in the Viewport.
Is anyone experiencing the same?
Graeme
The Up / Down / PGUP / PGDN keys keep the selection in view if used from the selected (clicked on) item. This is as expected.
However, if I hit the HOME or END keys, the GUI selection disappears however the selected item is corrext FIRST / LAST. Now, if I use the cursors, the SelectedItem / SelectedIndex of hte Listbox correctly changes but the selection remains hidden until the SelectedItem / SelectedIndex is in the viewport. Then Up / Down / PGUP / PGDN keys act as expected.
Now, if you select an item in the middle of the Listbox range, hit the HOME or END key, switch app focus away, then switch app focus back, the press an arrow key, the expected next SelectedItem / SelectedIndex you would expect to be the item related to the SelectedItem / SelectedIndex after Pressing the HOME / END key but infact it is from the last item selected in the Viewport.
Is anyone experiencing the same?
Graeme