Scrollviewer is not scrolling even set scrollviewer.ScrollToVerticalOffset(100);?

StackOverflow https://stackoverflow.com/questions/23100007

  •  04-07-2023
  •  | 
  •  

Вопрос

ScrollViewer is having hundreds of records and it has image views, these image views are not loading while setting the Scrollviewer.ScrollToVerticalOffset(100) , am trying to print the VerticalOffset value it shows '0'. This is the major problem i have read some where.But what is the solution for my problem?..

Это было полезно?

Решение

After doing some research I arrived at this solution:

    scrollViewer1.UpdateLayout();
    scrollViewer1.ScrollToVerticalOffset(200);
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top