WPF Open Source Project: WPF-ControlBase
The repository README is plain, but after reading a few blog posts linked in the author's README, you will like it.
The repository README is plain, but after reading a few blog posts linked in the author's README, you will like it.
Back up some properties of a WPF control, perform some magical operations, and then restore those properties.
Setting this property to false looks unchanged, but in operation it completely ignores it, does not trigger events, and can directly click on things below it.
Data binding is a powerful technology that allows data to flow between UI elements and business models. When data in the business model changes, it automatically reflects the changes to UI elements.
When a WPF client needs to implement a plugin system, it can generally be based on containers or processes. If exception isolation for external plugins is required, then the only way is to load plugins in child processes, so that even if a plugin throws an exception, it will not affect the main process.
Basically all code
Using Prism for MVVM, the advantages need not be mentioned; mainly using container injection, messaging, and DI, saving a lot of trouble compared to writing oneself. There are many standard MVVM usage methods online, but they do not form a system-level framework. This framework is built from login to specific business usage, including automatic updates.
Today, I introduce a library for displaying animated GIFs in WPF, which can be used in XAML or code: `WpfAnimatedGif`.
Open Source Sharing
The principle is to host the `Winform or WPF application on ASP.NET Core Web API`