I want to check the 'ItemSource' property of a 'ListView' element in a Ui-Test.
var ItemSourceOfmyListView = App.Query(e => e.Marked("MyListView").Invoke("ItemsSource"));
The ListView has the AutomationId "MyListView". The element will be found. But the method "Invoke" seems to work only for methods not for properties.
Is there another way to access a properties of an element in a Ui-test???
Thanks in advance