I am migrating my Windows Phone 8 app to Windows Universal Apps. I am currently working on Windows 8.1 project.In my Windows Phone 8 app , I used Pivot Control to show multiple pages and for each App bar was different and in that when I used to slide the other view was visible. I showed different listbox on each page and the values comes from database. I want to do the same for Windows 8.1 but I found that there is not a Pivot Control in Windows 8.1. Can anyone suggest me any control using which I can do that. If possible explain me with some code.
Please help.
See XAML controls comparison between Windows Phone 8 and Windows 8 on MSDN.
Not all controls are available for both Windows and Windows Phone. Specifically, there is no direct analogue to the Pivot on Windows 8.1. You will need to either redesign your UI to use a different control or write your own (or find a 3rd party control) Pivot control.
Two likely options are a FlipView or a Hub Control, but the specifics will really depend on the details of your app.
Related
I was wondering if you can use Windows 8.1 controls in a Universal Application? Our company has two different tools set purchased which contain a set of tools that I need to utilize in a Windows 10 Universal application that I am developing, mainly gauges and graphs and want to make sure I won't run into any problems. Otherwise I will need to roll my own or find another means.
You can't use the the DevExpress WPF controls neither in WinRT(Win8 XAML) nor in UWP(Win10 Universal App) development because all of these platforms are powered by absolutely different technologies.
If you are talking about the WinRT-development under Windows 8.1 you should use the Windows 8 XAML Controls suite.
IF you are talking about the Universal App developement under brand new Windows 10 you should use the UWP controls suite. AFAIK the DevExpress UWP controls ships in beta status right now.
Related links(tutorials):
Install DevExpress UWP Controls, Run Demos and Explore the Toolbox
Re-use Code from an Existing Windows 8.1 Application
Create a Windows 10 Universal App from Scratch
Is it possible to add/include a textbox under commandbar of windows phone 8.1 app as present in Internet Explorer 10..
This is not possible, you can only use AppBarButton and AppBarToggleButton.
Apps like IE and the app store where you can see rectangular buttons in the command bar, are special apps in which Microsoft can do whathever they want.
But you could try to implement your own custom CommandBar that immitates the system command bar, but this seems like too much work and error prone.
Yolo
This project aims to create useful controls for WinRT (Windows Phone, Windows 8.1, and later XBOX One). The first one is a customizable AppBar control, which is in a early stage of development.
You can use this app bar to suit your requirements.
I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. I have few questions related to universal app in Windows . I have posted them below. Most of cases are related Single UI which is created in App. Share folder.
1. Is there any control in universal app like Pivot or panorama as like windows phone 8 and windows phone 8.1 (silverlight) have ?
2. which is best to design for data binding Listview or Listbox?
3. In c# we can write like
#if WINDOWS_APP
welcometb.Text = "Welcome to Windows App";
#endif
#if WINDOWS_PHONE_APP
welcometb.Text = "Welcome to Windows Phone App";
#endif
to get which app is there, for XAMl how can we determine that it is windows app and it is windows Phone app
4. For web there is word like responsive UI. to create there is media query to write css.
I know css is same as we can create resource with for xaml . I can get resolution form c# and I can create different UI for different resolution and I can visible collapsed according to resolution but is there any single way which automatically adjust according to design.? ( this question is related to data binding controls specially...)
5. I am new in MVVM. I have developed Windows phone 8 and WP8.1 app in normal way. But not with MVVM. I have search a lot but did not get any example which can make better understand of MVVM. I know what is MVVM. It is similarly of MVC of Asp.net.
MVVM is
Model : Which describe data
View-Model : In simple word a bridge between Model and View.
View : A simple xaml page or user interface.
Which way is better or best to do code in Windows Phone 8 MVVM or Normal way?
Ref : Separate UI and app logic using the Model-View-ViewModel pattern
6. I have a transparent Image as Icon but still it display white background check below images
I - > Package.appxmanifest
II - > Display in start menu .
We are looking at creating a new mobile application which will run on tablets using full Windows 8. We would like to be able to use full SQL for our data storage (which can be accessed easily using Windows Forms apps), but also retain the nice controls and touch friendliness provided by Windows Store apps (e.g. the LayoutAwarePage and the Windows 8 XAML controls).
We were looking at a way to use the Windows Store libraries within a Windows Forms application (as mentioned here: http://msdn.microsoft.com/en-us/library/windows/apps/jj856306.aspx#consuming_standard_windows_runtime_types), but have had no joy beyond adding the reference to a solution.
Does anyone know how to add a LayoutAwarePage to a Windows Forms application? Or is there a better way to approach this?
If you want it to look like a windows 8 app try having a look at MahApps
http://mahapps.com/MahApps.Metro/
Its pretty easy to use and look pretty good, this is for wpf though not winforms
I have worked on WP7 app development(C# and XAML). I need to work on a windows phone 8 app development. I googled on what are all the API difference between WP7 and WP8 SDKs, especially I want to know whether there are any changes in UI controls available in WP7 SDK. I have not found any luck. Please point me to the right place where I can get the proper info.
Read What's new in Windows Phone SDK 8.0 - it give you all, what you need.
Exactly for controls:
Windows Phone 8 features the following new controls:
Windows Phone 8 includes a LongListSelector control that you can use to group, display, and scroll through long lists of data. It also
provides a mechanism for users to jump to a specific section of a
list.
In Windows Phone 8, Pivot and Panorama controls have been removed from the SDK and are now located in the phone’s read-only memory
(ROM). This way your app can use a separate native input thread, which
means a significant increase in the input responsiveness of these
controls. The working set memory of the Panorama control also has been
reduced.
The WebBrowser control is now based on Internet Explorer 10, which offers HTML5 and expanded CSS support for richer in-browser
experiences.
The performance of the ProgressBar control has been improved. You should use this control to report value-based or indeterminate
progress.
I hope my answer will be helpful.
there is lost of API changes instead of UI,
You can refer the below mentioned URL for the same.
Download pdf poster Windows Phone API Quick Start
Hope it helps