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.
Related
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
does Windows phone support the ObjectDataProvider, from Wpf?
I can't find a way to use it inside the xaml.
No, it does not. This is part of System.Windows, and if you check here http://msdn.microsoft.com/en-us/library/system.windows.data.objectdataprovider(v=vs.110).aspx you can see which platforms are supported on the bottom of the page.
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
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
I found out how to do it in WPF but how can I achieve this in winforms? The most important thing I want to use is the new calendar control but I would love to have the whole app be Windows 7-like. Sorry if this has been answered already but I didn't find the answer.
There is no native way to do it with WinForms. WPF is a "Exception" as it draws everything itself instead of through the system...
There are though a number of companies that sell themed controls. Such as...
https://www.devexpress.com/Products/Free/NetOffer/
This company also has a lot of controls including a calander:
http://www.bcgsoft.com/