How to host multi-pages in phoneapplicationframe in wp8 like facebook 5 for wp8 app - windows-phone-8

How to implement a navigation bar like the facebook app for wp8
I want to implement a navigation bar for my wp8 app, it look like the facebook app for windows phone 8, Click on the left menu to slide profile pages ... or Swipe left to show profile page, swipe right to show friend.
My idea is host 3 pages (Profile Page, MainPage, FriendPage) on a phoneapplicationframe, when use click on the profile icon the Profile Page will be visible and the Mainpage will be margined to left ... , It is possible? How can i do it.
Any feedback will help me so much. Please help me, i'm stucked here.
Thanks you.

I've blogged about a possible solution for this, but I have to agree an usercontrol would be a better option!
http://depblog.weblogs.us/2013/07/30/facebook-like-settings-pane-with-gestures-windows-phone/

I believe it was only one single page whose width is more than the screen's width. And the default view is achieved by setting the margin or other property which is for you to findout using trial and error.

First, create a custom control/user control as design same as profile icon pressing profile page.
Then, drag it onto your main page. and set it margin properly how you want.
When you press the profile icon button. Then only you need to show it and collapse it when tapping screen.

Related

Windows Phone Sliding Page/Control

I want to design a page on windows phone 8.1 which should have 2 pages in a screen.
One page should always be visible.
Second page should come up when user tries to "hold and tries to swap to right on the left corner of the visible screen"
[The Second Page i'm planning to make it as a User control. so that i can put it on different pages as a hidden control and will show up when user tries hold and drag from left to right, action on a page just the way action center shows in phone]
It's same way how action center page comes up when user hold's and drag down the top corner of phone screen windows phone 8.1, but I'm trying to do the same but from the dragging should be from left side of the Screen.
I have tried experimenting with Manipulation methods could achieve the expected result.
Hope i have conveyed my question properly. :)
Please share your thought's.
Thanks.
Your question is not very clear, but is That what you are looking for ?
Application side menu (NavigationDrawer) ?
Checkout this project, see if it suit your need. You need some changes in source to make it work with Windows 8.1

What is this menu called in windows phone?

Recently Tapatalk updated their app and a new menu appeared, which I haven't seen before.
Does anyone know what this menu is called?
There is an image in the top left corner which is 3 orange horizontal lines, when you press on it a menu pops out from the left.
I am trying to write my own app and wanted to use this.
I have seen it in a few apps now.
I would upload an image but I am unable to at the moment
From what I can see in the app screenshots, this is a quite typical menu which slides in from the left in many Windows Phone apps these days. It can also be seen in Facebook, for example.
There is a good blog post explaining how to implement that written by Dan Ardelean:
Add side menus to an Windows Phone application (similar to the Facebook app)
It comes down to using gestures (or button click) to bring a part of the app into view.
You could also make a Flipview with 3 pages (FlipViewItems), it would be almost the same as the Facebook app

Slide menu in Windows Phone 8

I'm migrated from iOS dev to WIndows Phone dev and I have stumbled upon a problem.
I need to implement a side menu, that looks like the one in facebook app in ios. It shpuld slide from left to right. It should contain about 10 buttons (ListView). Presign the button should cause chaning the view (navigate to other xaml file)
Because of the huge difference between Windows Phone controls and iOS controls I want to ask an advice on how to better implement such menu. I've heard about aproach using Panorama. But would it look pretty?
I mean I'll have 10 different XAML files with different content. In each of them I'd have to add Panorama control and add the menu. And when I navigate to other XAML would it look nice? because it would close menu without any animation.
So please tell me what is the better approach in impelementing what I want? And how to navigate properly between all the XAMLs without loosing the animation of the menu. And of course how to avoid duplicating code in all the XAMLs? I guess XAML files could not be inherited. And of course I need it to support both WIndows Phone 8 and 8.1.
Thank you very much for you attension!
Here this a blog that will help you implement side menu like Facebook app. Link Hope this helps.
I just implemented something similar in my Dictionary app (http://www.windowsphone.com/s?appId=9f31b733-8c7b-e011-986b-78e7d1fa76f8). You will see that when you click the favorite or history icons on the top, it slides in a panel from the right. I implemented this by adding another Grid to the page whose left margin is set to the width of the page so that it basically sits to the right of the page, out of user's view. When the user taps one of the icons on top, I run a DoubleAnimation with a StoryBoard which does TranslateTransform on the X coordinate of the Grid and runs the StoryBoard for a duration of 3.5 seconds to give the user the perception of slide-in animation.
As far as having the same slide-in menu on each of the pages go, you have 2 options:
(a) Create the sliding panel as a user control and add it to each of the pages and on click of an item inside the panel, go to the second xaml page with the slide-in menu open and start the transition to hide it, or
(b) Create multiple grids within the same xaml page and simply hide/display the right one at the right time.
I believe you are speaking about the popular hamburger menu.
You can very well use the SlideView library. Here is the link,
https://slideview.codeplex.com/
The SlideView, a control allowing to slide between panels (2 or many more)
The SlideApplicationFrame, a control to use at top app level and packaged to display 3 panels with navigation occuring in the middle panel
The AutoHideBar, a control which is displayed when scrolling up in a list, and hidden when scrolling down

How can remove the circle of ApplicationBarIconButton in windows phone?

I create the Application Bar with 4 icon Buttons and 3 normal menus. It's working fine.
But i don't want, the circle around the icon button. How can i remove that.
And another one question is how to see the icon button text in normally. That means i click the more icon that time icon button visible. But i want no using more button and want to see the icon button text. It's Possible.
Please Help Me.Thanks In Advance.
you cannot remove the circle, neither you can "expand" the application bar so you can see the labels of each button. It is simply against the Windows Phone UI.
But as it is .NET, you can easily create your own buttons bar at the bottom of your page. Of course, it might be difficult to implement the UI logic for you menu items so they behave like the native application bar does (you could consider using the build-in application bar for you menu items and set its mode to "Minimized").
But: why would you do all this? In my opinion, apps should follow all UI guidelines and should all look the same (especially when compared to native apps) ;-)
Greetings

ApplicationBar custom button

The stock ApplicationBar only seems to support circle icons with optional text menu items. I'd like to get the design that you can see when you go to Settings -> email+accounts -> add an account and select Google, Facebook or Hotmail. There is one rectangular "next" or "sign in" button. Thanks for any pointers!
The is no support for rectangular buttons in the application bar in the SDK. You can fairly easily create a similar effect using a XAML Grid at the bottom of your page.
However watch out that if you use a TextBox to enter text on your page, then the onscreen keyboard can cover your buttons, confusing your users. In that case you're better sticking to normal app bar circular buttons.