I have a function that changes two properties. Using MVVM.
- FilterDescriptors => that updates the GridView.FilterDescriptors by a DepedencyProperty
- ScrollItem => that uses GridView.ScrollIntoViewAsync by a DepedencyProperty
Both working fine if i set a property one at a time. If i run them in same function the order is still right of calling the DependencyProperties.
Although the ScrollIntoViewAsync gives a ScrollFailedCallback in this scenario and it is not scrolled to the item.
My guess is that the items are still filtered, hence it cannot be scrolled to the desired item.
Any ideas to solve this?
Thank you in advance