Search code examples
c#.netwpfpixelsense

How to get topmost ScatterViewItem in a ScatterView?


How do I get the topmost ScatterViewItem in a ScatterView?


Solution

  • You can go through each of the ScatterViewitem and keep check of which ScatterViewItem.IsActive is set. that will be the topmost at that moment

    For of the times it will be a loop on ScatterView.Items to iterate on ScatterViewItems