How implement a (swipeable) card in windows phone? - c#

I want to implement a swipeable card (left and right swipe) in a Windows Phone app. Is there any built in control for making a card and moving it?
If there is no built in control for it then what is the best approach to build a card like below and animate the movement of it?
Note: I am not asking help about detecting and processing of the swipe gesture.
figure showing the card

How about trying Carousel control though its available for Windows 10 for windows phone 8.1 you can refrence these two tutorials
Tutorial 1
Tutorial 2

Carousel control is one good example of what you want to achieve.
Also , I think you can do such a thing by changing some Pivot & PivotItem styles.It could be more customized than Carousel control but you need to take more effort on that.

Related

Auto Smooth Image zooming in Windows phone8

Hi I am new to windows phone 8.How to make an image to zoom in and zoom out smoothly in an automatic manner windows phone 8.
Thanks for your help in advance.
So to start with, you could use the Silverlight for Windows Phone Toolkit in order to use the Gesture provided by CodePlex. A workaround has been already done here.
Or else another option would be to go with the ManipulationStarted events for an image.
Reference: Smooth pinch-zooming and panning on Windows Phone 8
Another option could be, to use the Viewport control for Windows Phonewhich could handle flick and pinch gestures. Better if you could have a glance at the sample given by msdn. There could be more options out there, it would be better if you could give a search on them.

WPF Tile Control like Windows 8 Start Menu

So, does anyone knows a panel or a control which emulate Windows 8 Stat Menu Tile Panel?
with all of those features like SQUAD tiles or bigger ones?
Also i have seen this link on Stack overflow, but because of low reputation points, i could comment there that "IT DOESN'T WORK"
Emulates Windows 8 Start Menu Tile Layout Engine
The answer is: no, there is no native control which emulate a tile.
Thus, basically, you could do it yourslef as explained in the link you provide: Emulates Windows 8 Start Menu Tile Layout Engine
If it does not work, you probably have something wrong because it is some classic XAML.
Another alternative could be to use a tiers-Library. There are some paying like DevExpress, Actipro or Telerik.
But my recommandation would be: do not buy anything, but do not reinvent the Wheel either. You have some free nice Library available with Nugets like MahApps.Metro or ModernUI for WPF that could greatly help you to create your own custom tile.
Hope it helps.
Telerik RAD Tile control can do it for you !

Windows Phone Custom Control Design and Implementation

I am working on a windows phone app, in which I will need to add a costom "cover-flow" kind of control like how it looks like in the Spotify app below:
Note: user can swipe from right to left to change song.
I don't think Windows Phone SDK provide any controls support this, so I was wondering how such a thing is implemented.
I think it is either faked by a pivot page with dynamically adding/deleting pivot items, or maybe it is a custom control.
If I want to implement this as a custom control, does anyone has experience about it, or any sample code/tutorial will be very helpful.
Thank you
You're looking at a Panorama control. It is available out of the box with the Windows Phone SDK.
Telerik makes a great control that does just this. It's called the SlideView control. I know it's not free, but it is only $99. Given that it might take you about 4-10 hours to create this control yourself, I'd say it's worth it. If you join the Nokia Premium Developer Program you get Telerik's controls for free.
Note: I do not work for Nokia or Telerik and this is NOT a paid advertisement :)
The swipping effect is because of Panorama page. to change music you need to handle gestures that will be a tough task . The solution is to find a hack or have some control in the background that registers the touch event and changes the music

How to create flipping tile effect inside an app for Windows Phone

I am developing an app which shows image and I want to provide important relevant information on the same image. Essentially, I want to create a flipping tile inside an app and later pin it to the start. Is it possible to have one?
Radcontrols Hubtile or Coding4Fun toolkit Hubtile is what you are looking for.
About creating secondary tiles on windows phone check this article.

Tap and Drag gesture in Windows Phone without XNA

I want to know if there's some kind of gesture for Windows Phone that allow me to tap on a Button and then drag to another and tap it, of course without XNA framework because this is not a game and I don't want use it.
For example, I have two buttons "A" and "B", if tap on A then I drag my finger (still on the screen) on B then B should be selected with A.
I hope everybody understand my problem, Of course I'm doing all this with C# and XAML for Windows Phone 8.
Thanks for the answers. Cheers.
You can use the DragStarted and DragCompleted events from Microsoft.Phone.Controls.GestureListener available in Phone Toolkit. Sample code: http://www.scottlogic.co.uk/blog/colin/2012/06/a-gesture-driven-windows-phone-todo-application-part-two-drag-re-ordering/
I also prefer using the already implemented gestures that Microsoft provides with the windpwsphone toolkit. It's probably the best implementation of standard gestures you can get.
And as #Arun already showed, there are already drag and drop implementations done.
But if this is not sufficient for you, you can always create your own gestures based on the raw event, that ever UIElement has. See:
http://msdn.microsoft.com/en-us/library/ms604577%28v=vs.95%29.aspx

Categories