I have added the following codes for reversing
the listview(first item on bottom).
In the ListView set following two properties:
FlowDirection=”RightToLeft”
Rotation=”180″
And in the view cells main layout:
FlowDirection=”LeftToRight”
Rotation=”180″
After that my scrollbar showing on the left side and mouse scrolling behaves opposite of the normal behavior(on UWP). Also, scrolling is not smooth. How can I fix these issues?
I got the above codes from this blog. Please see the Rotate the list section. In the blog itself, they are telling about the scroll bar on the left side issue and suggested to add FlowDirection
property to solve this.
Complete Code:
<ListView
FlowDirection="RightToLeft"
Rotation="180"
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<StackLayout
FlowDirection="LeftToRight"
Rotation="180">
//Listview items
</StackLayout>
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>