LoopSelector for Windows Phone 8.1 - xaml

I was trying to add LoopingSelector but every time I get this error: The type 'Windows.UI.Xaml.Controls.Primitives.LoopingSelector' has no constructors defined
Is there a way to add the LoopingSelector to a page in XAML?

Use ScrollViewer or FlipView
FlipView internally uses ScrollViewer.
In Windows 8.1 and Windows Phone 8.1 ScrollViewer is very powerfull.
Use VerticalScrollMode and HorizontalScrolMode properties.
See XAML scrolling, panning, and zooming sample

Related

UWP Xaml Page scale after migrating from Win 8.1

im currently working on tablet app migration from Win 8.1 to UWP. I created a new blank UWP and added all xaml pages and c# code to it. App is now running without any errors or crashes but i have problems with page layouts. In Win 8.1 every controller was scaled to fit the screen size. Now in Win10 UWP project, if i compare the win 8.1 and UWP app fonts and controllers are almost twice as big as they were on win 8.1 ... Is there something i forgot to do during the migration process ? Thanks
Try to disable DPI scaling
bool result = Windows.UI.ViewManagement.ApplicationViewScaling.TrySetDisableLayoutScaling(true);
Or set to 100% DPI in display properties

Hide status bar in Windows Phone 8.1 with XAML

I'm trying to hide status bar in Windows Phone 8.1. I see a thread to do this (Hide Status bar in Windows Phone 8.1 Universal Apps), but this is C#. I would like to hide this status bar in XAML. Reason is that Expression doesn't detect the code in class constructor. When I launch the app all is working, but in Blend it still display the status bar, and so I can't make correctly the design...
My question is : Is there a way to hide status bar in XAML (via a property in Page tag or other) ? Or it is possible to force Blend to detect whatever I write in constructor ?
Thanks you
There is no way to hide the status bar in XAML.
But you can hide it in Expression Blend.
Look to the Device Tab and then unselect the Show Status Bar tick as shown in the picture.

Windows Phone 8.1 Create a Swipeable Scrollable Control

I am trying to create an animation to a control.
So think of the animation and control of a now playing page on most touch screen devices. You see the control (album photo) and swipe either way and get it to slide off the screen and then the next control (album photo) slides on in its place.
I am not asking for you to code me this, but I am having trouble wrapping my head around a way that this could be done.
The control content is always changing, when you swipe one way, an image is removed from the view and then the next is added.
What you need is FlipView control which can get you the interface you described.
Here are some references:
Quickstart: Adding FlipView controls (XAML)
XAML FlipView control sample

Windows 8 Store application XAML ListView Scroll Changed Event

I want to detect ListView Scroll Changed Event in Windows 8 Store application is there any way ?
Did you try event DragLeave?
I found this discussion WinRT XAML: Automatically Scrolling ListView and Detection. Hope it helps you ;)

Windows-8 FlipView issue with touch?

I am running Windows 8 Consumer Preview and having an issue with the FlipView control.
In the Windows 8 SDK Sample pack (for Consumer Preview), there is a Controls_FlipView project that shows different things that can be done with the FlipView control. If I run the project in the Simulator and use the touch pointer (hand) and try flipping through the slides, if I flip relatively quickly, the FlipView sometimes ends the animation in between two slides, after letting go of the mouse. This also happens in a FlipView control in my own app.
screenshot: http://i39.tinypic.com/noa3o2.png
Is this a quirk/bug of the simulator? Or does this also happen on a real tablet? (I don't have one to check)