Click here to Skip to main content
15,887,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It looks like I have two choices when creating a form that has objects such as buttons, labels and text boxes. I can use the older C# code or the newer XAML code.

I'm wondering what the advantages of using XAML code and if I should learn XAML compared with the original C# code when placing and using objects on a form?

I noticed that some form objects are missing when using XAML code such as the timer and PictureBox. XAML seems to have its own version of the timer but maybe there are other things missing.

If for example you were creating an arcade game would you use XAML code?

When I'm referring to XAML I'm meaning WPF.

Brian

What I have tried:

Deciding between WPF and the older form of C#
Posted
Updated 8-Sep-20 19:38pm
Comments
BillWoodruff 10-Sep-20 0:01am    
what led you to choose WPF compared to other options, like WinForms ?

1 solution

Have a look at a similar discussion here. Users have shared multiple answers with details: Advantages and disadvantages of WPF over winforms ?[^]
 
Share this answer
 
Comments
BillWoodruff 10-Sep-20 0:00am    
+5 interesting discussion !

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900