(I am new to UWP environment)
There are missing controls under the toolbox menu in VS 2022: I cannot find labels, tab controls and many other items I would use.
Thanks in advance
UWP does not support controls from WinForms WPF and other
Instead of a label, you could use a TextBlock.
This is the new UWP tabcontrol you could use:
https://learn.microsoft.com/en-us/windows/apps/design/controls/tab-view
You can also check out the WinUi 2 Gallery. Every UWP control is listed there: https://apps.microsoft.com/store/detail/winui-2-gallery/9MSVH128X2ZT
As #FrozenAssassine mentioned, UWP development is different from the traditional desktop app development. The controls are not the same as those you used to use before. The link he provides is really useful.
In addition to his answer, as you are new to UWP development, you could also go through this document: Develop UWP apps. This document could help you start the UWP development.
I want to design a modern looking UI using visual studio designer in xaml. It gives me a nice toolbox which I can use to create a UI visually by drag and drop. As it is almost behaving like HTML, I was wondering if it too has a rich library of themes. I found some, but they are not editable through designer.
Can someone please help me out and direct me to appropriate links where I can find editable themes for xaml for my WPF project?
I use this:
Mahapps.metro http://mahapps.com/
I very good looking thems and it is free. More info https://stackoverflow.com/a/15500408/5816153
Others:
Modern UI for WPF (MUI) - https://github.com/firstfloorsoftware/mui
And for more info on SO: Making WPF applications look Metro-styled, even in Windows 7? (Window Chrome / Theming / Theme)
I'm trying to add those big buttons to my project.
How are they called? Are they even part of .NET Framework?
I haven't been able to find much, but I was able to find a guide on how to make a Windows Aero Style Wizard Control which suggests that this style isn't easily accessible in .NET. I think you should check it out and see if there is anything you'd want to use.
As (as far as I know) there are no resources built into the .NET Framework for creating Windows Aero style forms easily, the aim of this project was to provide access to a (or some) classes that the user can use to create themed forms easily.
I created another WPF project in my asp.net project solution and now want to use my WPF controls in my web application. Is it possible to use wpf control in my web projects?? I figure out on internet some says like you have to use Silverlight for web applicaitons. As far I know silverlight is subpart of WPF, so why not i can use WPF??. I have to use WPF controls because already did enough efforts to build wpf controls and now wanna to use in Web application.
Yes, you can embed WPF controls in a webpage, but you'll need the relevant plug-in enabled (much like Silverlight).
As an example the Xceed Datagrid for WPF is viewable within Internet Explorer.
Although XAML applications are disabled by default, you'll need to enable them in your Internet Explorer security settings.
As for Firefox, you'll need both the .Net Framework Assistant, and WPF Plugin as suggested by MSDN.
WPF is a really great framework, and enabling WPF/XAML based applications for intranet usage would be fine (you could inherit the security permissions through group policy), or for a set audience who don't mind the extra configuration.
The only way you can achieve that is by using Silverlight components not WPF. As you said silverlight is a subset of WFP, so not all WPF features are supported but the silverlight runner. For the most part, the visuals are fully compatible, that is user controls, so if you did not use anything that is specific to WPF then you should be grand.
maybe check here:
WPF vs Silverlight
BTW can you post your xaml, so that we get an idea?
Marco
I believe you can use the XML WPF Browser application to do this, but I'd probably not recommend it, as I think your users will have to download client-side components in order for it to run. The following link gives more info.
http://msdn.microsoft.com/en-us/library/aa970060.aspx
No you cannot use WPF in a web page. WPF is for Windows Applications and will only run on Windows machines. The internet is device agnostic and will run on Windows, Linux, Android, iOS etc. Therefore you need to use ASP .NET (or similar) for web applications and WPF for Windows.
Silverlight is a sub-set of WPF and will work on a web page... BUT not all devices support it (i.e. iOS). So if you really want to be system agnostic and true to the spirit of the web use HTML / CSS and JavaScript.
Whatever it is possible or not, the using of WPF controls embedded in a html page is just horrible.
A classic WPF control might be running (after changed browser settings), but there are many security concerns. Furthermore you have to show your users a to do list before anyone could see the real page.
Silverlight as a subset of WPF, but it is also a plugin that is not available for all platforms such as, for instance, iOS.
I recommend to use HTML 5, which is a per se standard and viewable on all other platforms. It causes more effort, but is is definitely worth it.
Although there are ways to do this (already mentioned by other users on this page), relying on your visitors to have this configured or plugins installed in their browsers means it's very risky to implement this (assuming your target is the WWW and not just local users).
I would consider building a web application UI and just reference everything via class libaries (if using N Tier design)
For a project I decided to use Dynamic Data Display to generate charts (more specifically: heat maps) of certain data.
Now for as far as I could read (and see from the demos) Dynamic Data Display uses WPF forms.
I have no experience whatsoever with WPF, but I was wondering if it is possible to integrate Dynamic Data Display in a normal windows forms project (even if this means "mixing" Dynamic Data Display's WPF forms with my project's normal windows forms).
Thanks in advance!
You will need to use System.Windows.Forms.Integration.ElementHost control in your Windows Forms project, more information on how to use ElementHost to host WPF forms inside Windows Forms is at:
http://msdn.microsoft.com/en-us/library/ms751797.aspx (Interoperability in WPF and Winforms and vice versa)
http://msdn.microsoft.com/en-us/library/ms742215.aspx (Walkthrough)