This is a migrated thread and some comments may be shown as answers.

[Solved] Scroll Selected Item into View

1 Answer 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bastian Kraehmer
Top achievements
Rank 1
Bastian Kraehmer asked on 18 Jan 2011, 02:08 PM
Hello,

is it possible to scroll the selected or the current item back into view in an MVVM application?
I guess usually you would do that with the ScrollIntoView - Method, but since my ViewModel doesn't know any of the components of my View
this doesn't work for me.

Regards,

Bastian Kraehmer

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Jan 2011, 02:11 PM
Hi,

 In such scenarios usually you can create custom attached behavior for the component aware for both the model and the component itself. You can check for example this demo for more info about custom attached behaviors. 

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Bastian Kraehmer
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or