How to apply windows 8 theme for windows forms ?
Note : What i want to achieve is clearly using the style so that any user [with\without] windows 8 installed can see my application with windows 8 style. {Just Like Any Other Style?]
Not sure why you would want to, because it makes your UI inconsistent with other applications in the OS - chances are users won't be happy. To help you convert the whole OS, there are 3rd party themes available on the internet. For Windows 7, there is one by deviantart. Or try Windows 8 Transformation pack, which supposedly can even work on XP.
If you want to style your particular app, there are 3rd party UI components you can use, but they are all paid (from what I know). Some vendors, for example, are Devexpress and Telerik.
Related
Context: I am looking for examples of popular applications that use WPF for their UI.
With Windows 8 and Windows 10, certain parts of the OS got a new 'look-and-feel', for example:
The system settings dialog
The taskbar and the start menu
The calculator app
The task manager
Do those or any other Windows system applications use WPF for their UI?
This question already provides a list of existing applications that use WPF: What real world WPF applications are out there?. However, I would like to know if there are any builtin Windows system applications that use WPF.
None of those applications use WPF. Instead they use UWP, which was inspired by WPF, but is quite a different framework underneath.
There are WPF applications in many default Windows installations, though. For example, the PowerShell ISE is one.
You could try Snooping them to find out - It's not been updated for several years but I tried it on a splinter new 4.6 app I'm developing and it's detecting it and works fine. Whatever it can detect is certainly a WPF app - the inverse is not true however.
That being said it did not detect calculator or task manager for me.
I have to create an application with metro design on vs2010 and windows 7.
The application should work both on pc and device without internet.
Initially i though of wpf but i do not know if it works on Mobile.
Please let me know how i can develop once such standalone application for
both device and PC also
Unfortunately, there is not a single platform that targets both PC and Phone...although, the presumption is that Windows Phone and Windows Store applications are moving toward a unified foundation.
Windows Store applications unfortunately don't run on Windows 7. Only Windows 8 and above, but the advantage is they work with the desktop version as well as the tablet version of windows.
If you want to target windows 7 and say windows phone as well, your best bet is to use portable class libraries to create a common "core" for the application. And use WPF for the desktop which has a lot in common with XAML for Windows Phone.
If you want to target windows phone 8, you have to use Visual Studio 2012 or above.
Pretty old question, but in case anyone is still blindfolded, there is UWP.
Furthermore, if you want to have XAML and C# deployed as native apps in a variety of platforms (UWP, Droid, iOS, WinPhone), be sure to check out Xamarin, which now belongs to Microsoft, and follows the awesomeness of open-source MIT just as the entire .NET does now.
Can existing apps (both web and desktop apps) using Silverlight run on Windows 8? How about Windows RT?
If it's not possible, what would be the path of least resistance to make it work? (Viz., how to get it working on Windows 8/RT, not caring about whether it'll work on Windows 9 or not.)
Existing Silverlight applications can run in the Windows 8 Desktop, but cannot run as part of a Windows Store application. Only Windows Store applications can run on Windows RT (with exception of Office apps delivered by Microsoft).
Path of least resistance would be leveraging your assets - it's C#/VB and XAML still - within the Windows RT framework.
You might check out this Deep Fried Bytes episode, and there are other blog posts as well to give you some guidance. There's also an article on the Dev Center focused on Windows Phone 7 Silverlight to Windows 8, but much should be application to your scenario as well.
You WPF and Silverlight application work fine on Windows 8, but not in the Windows store, which needs only Metro Applications.
But you can more and less easily port your Silverlight app to Metro : you keep XAML files, and you change the code behind with new objects defined ine the Windows 8 libraries.
I have developed a Windows desktop gadget using Silverlight (MVVM pattern) and WCF.
I want to know whether it will work on Windows 8, since there is no option as sidebar in Windows 8.
If possible please tell what should I do to make it compatible with both Windows 7 and Windows 8.
Windows Desktop Gadgets are not supported on Win8: http://www.techradar.com/news/software/operating-systems/microsoft-to-remove-desktop-gadgets-from-windows-8-1088122
You can try to reuse some parts of your code to make a Windows 8 'immersive app' with a Live Tile. The C#/XAML stack in Windows 8 is quite similar to Silverlight (but not the same). See http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx for a guide about the differences.
I want to add custom jump list entries to my application in Windows 7.
The menus I am referring to are the following.
Pin a application to the taskbar.
Now right click on the application.
Some applications like windows media player etc. have custom options that you can run.
How do I go about adding these to my application.
The Windows Team Blog has some articles about Jump Lists and other new Windows 7 Shell features:
Developing for the Windows 7 Taskbar – Jump into Jump Lists – Part 1, Part 2, Part 3
Those are geared towards C++ applications, there are also managed code APIs which package those in a way a little easier accessible to .NET developers.
For .Net code, there are some good example and libraries in the Windows API Code Pack
The Samples\Shell\TaskbarDemo specifically deals with the TaskBar APIs and shows how to do Jump Lists and control the icon.
Not sure if it has any examples of custom actions like Media Player.