UWP: Mouse wheel on horizontal ListView

Problem: By default ListView is vertical orientation and scrollable. To change ListView horizontal we set in it ItemsPanelTemplate: <ItemsStackPanel Orientation="Horizontal"/>. But in mouse wheel is not working on horizontal ListView Solution: Fixed width for the ListView Disable parent scrollviewer horizontal by setting ScrollViewer.HorizontalScrollMode = "Disabled" if the ListView inside scrollviewer

Continue Reading UWP: Mouse wheel on horizontal ListView

UWP: ListViewItem remove spacing

Problem: Space is not balance between list view item. Solution: <Setter Property="ItemContainerStyle"> <Setter.Value> <Style TargetType="ListViewItem"> <Setter Property="Padding" Value="2"/> <Setter Property="Margin" Value="0"/> <Setter Property="MinHeight" Value="0"/> <Setter Property="MinWidth" Value="0"/> </Style> </Setter.Value> </Setter> Result:

Continue Reading UWP: ListViewItem remove spacing

UWP: Disable Pivot swipe left/right while horizontal scroll ListView inside

Problem: - You have Pivot - You have horizontal ListView inside PivotItem - When you scroll ListView items to the last, the pivot automatically swipe to next PivotItem. So you want remain the current PivotItem view without go to next PivotItem? Cause: - Both Pivot and ListView have ScrollViewer by…

Continue Reading UWP: Disable Pivot swipe left/right while horizontal scroll ListView inside

UWP: Set status bar to remove empty white space on top in Mobile Emulator

Problem: - Having empty white space on top of Windows 10 Mobile Emulator Cause: - The status bar is not set correctly Solution: - Set background color for the status bar - Hide the status bar if needed Set the code below in App.cs OnLaunched Code: Note: You must add…

Continue Reading UWP: Set status bar to remove empty white space on top in Mobile Emulator

UWP: Open Store Rating to request user review and rate from your Windows 10 app

In Windows Phone 8.x, you can use the Marketplace review task to launch the Store or Marketplace and then display the review page for the current app. The code is simple as below Unfortunately, UWP Windows 10 app does not support this kind of Marketplace review task. So the question…

Continue Reading UWP: Open Store Rating to request user review and rate from your Windows 10 app