UI controls difference between WP8 and WP7 - c#

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

Related

Windows 10 SDK Check WPF GPU Rendering

I haven't had the need to check this for a while and it seems I'm out of the loop.
Back in the Windows 7 SDK the WPF Performance Suite offered the ability to run an application and have it detail which portions of the UI are being rendered by the GPU by tinting bits of the UI.
The new Windows 10 SDK has The Performance Toolkit which in comparison seems impregnable in it's set up complexity and doesn't seem to offer this functionality anymore and I cannot find much documentation on it's use online.
Does anyone know if this ability still exists and how to configure the toolkit to do this?

Put the calculator on TopMost C# [duplicate]

I'm developing a Windows 10 Universal app (UWP).
Is it possible to set application as TopMost (always on top)? Like WPF or Winforms (TopMost property).
Thanks
A feature called CompactOverlay mode was added in the Creators Update that supports this type of functionality. When an app window enters compact overlay mode it’ll be shown above other windows so it won’t get blocked. This allows users to continue to keep an eye on your app's content even when they are working with something else. The canonical example of an app taking advantage of this feature is a media player or a video chat app.
A blog post describing the feature can be found here
https://blogs.msdn.microsoft.com/universal-windows-app-model/2017/02/11/compactoverlay-mode-aka-picture-in-picture/
Short answer is no, there is no way as of today to make the application modal.
There is a petition going around asking for this functionality, which was requested last December but given the amount of votes it got (35 at the time this answer was written), it doesn't look like it will be taken into consideration anytime soon.
As mentioned in the comments, this functionality would be PC only so even if it was added, my assumption would be that it wouldn't work outside of the PC mode (so no tablet, mobile or surface family device support).
It's not possible UWP apps have some restrictions compared with WPF of Win32 apps(classic apps).
With uwp apps you need enable some capabilities to do something special in your app as you can see in the link uwp apps need ask for permission or they can't access or modify files directly.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Best Regards

C# Windows Universal 10 TopMost Window

I'm developing a Windows 10 Universal app (UWP).
Is it possible to set application as TopMost (always on top)? Like WPF or Winforms (TopMost property).
Thanks
A feature called CompactOverlay mode was added in the Creators Update that supports this type of functionality. When an app window enters compact overlay mode it’ll be shown above other windows so it won’t get blocked. This allows users to continue to keep an eye on your app's content even when they are working with something else. The canonical example of an app taking advantage of this feature is a media player or a video chat app.
A blog post describing the feature can be found here
https://blogs.msdn.microsoft.com/universal-windows-app-model/2017/02/11/compactoverlay-mode-aka-picture-in-picture/
Short answer is no, there is no way as of today to make the application modal.
There is a petition going around asking for this functionality, which was requested last December but given the amount of votes it got (35 at the time this answer was written), it doesn't look like it will be taken into consideration anytime soon.
As mentioned in the comments, this functionality would be PC only so even if it was added, my assumption would be that it wouldn't work outside of the PC mode (so no tablet, mobile or surface family device support).
It's not possible UWP apps have some restrictions compared with WPF of Win32 apps(classic apps).
With uwp apps you need enable some capabilities to do something special in your app as you can see in the link uwp apps need ask for permission or they can't access or modify files directly.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Best Regards

What is the alternative of Pivot Control in Windows 8.1?

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.

How to create Silverlight 4 user control for windows phone app?

Can I create a silverlight user control that will work on a windows phone silverlight?
Is there a way to do so? I don't need very complex things. just a very simple user control with a label and a few text boxes.
Yes and yes. Here is a link for starters. If you scroll to the bottom you will see supported version info. And yes, user controls are supported for Silverlight for Windows Phone v 7.0
Just above the version info is also a clear, straightforward example of the simple kind of user control that you're interested in creating.
Cheers.
Sure you can as long as Controls you are using in Custom Control are also supported in Silverlight for WP7. in MSDN doc there is description of which Version of Silverlight supports it with weather its available in WP7. Also in doc every Method, Property ,Event ,etc has an icon in front of it. which will tell if its available in WP7 or not.

Categories