Saturday, July 8, 2023

WPF user control vs. Windows Form user control

find and convert good control for my own use,,,

  1. WPF vs. WinForms
  2. The single most important difference between WinForms and WPF is the fact that while WinForms is simply a layer on top of the standard Windows controls (e.g. a TextBox), WPF is built from scratch and doesn't rely on standard Windows controls in almost all situations. This might seem like a subtle difference, but it really isn't, which you will definitely notice if you have ever worked with a framework that depends on Win32/WinAPI.

  3. What is WPF?
  4. WPF, which stands for Windows Presentation Foundation, is Microsoft's latest approach to a GUI framework, used with the .NET framework.

  5. Creating & using a UserControl
  6. User controls, in WPF represented by the UserControl class, is the concept of grouping markup and code into a reusable container, so that the same interface, with the same functionality, can be used in several different places and even across several applications.

  7. Creating and consuming a custom WPF control
  8. Whenever a new technology comes along, I personally find that the best way to get to grips with its functionality is to try and create something you have done in another language. To this end, this article will describe how to create a custom control in WPF which will raise custom events. The custom control will then be placed with a standard XAML window and the custom control's events shall be subscribed to. That's it in a nutshell. But along the way there are several things that I would like to point out to you.

  9. How to Create a WPF User Control & Use It in a WPF Application ( C# )
  10. Creating a WPF User Control & using it in a WPF application ( C# )

  11. Opacity of Forms in C#
  12. Learn more about changing the opacity of forms, using C#.

  13. Interpolate 2D Points Using Bezier Curves in WPF
  14. Describe an algorithm to get Bezier curves from a set of points. This curve will pass through all the points and will have a smooth factor. In the case of the article, this is implemented in WPF, but also I've updated the article with some implementations made in JavaScript, which can be used in Web or Mobile apps based on JavaScript.

  15. Opacity of Forms in C#
  16. Learn more about changing the opacity of forms, using C#.

No comments:

Post a Comment