Encapsulate exceptions with Assert to elegant code (with project source)

Python WeChat Subscription Applet Course Video https://edu.csdn.net/course/detail/36074 Python Actual Quantitative Transaction Finance System https://edu.csdn.net/course/detail/35475 Assert assertions are not new to you. When we are doing unit tests, looking at business transaction composite expectations, we can verify them with assertions, ...

Posted by jameslynns on Mon, 07 Mar 2022 18:13:17 +0100

Style recommended by WPF excellent components

1, Introduction Stylet is an MVVM component based on WPF. Although WPF itself has its own MVVM function, it is not very convenient to implement. Through stylet, users can enjoy the comfortable experience brought by MVVM with little code. Currently, Stylet supports: Net Framerwork 4.5,. Net Core 3.0,. Net 5 or above.     2, Build basic fram ...

Posted by shezz on Mon, 07 Mar 2022 08:20:55 +0100

Style recommended by WPF excellent components

The last article introduced some basic functions of style, and this article will introduce some in-depth functions.    Dependency injection Inject the required objects into the Bootstrapper class: public class Bootstrapper : Bootstrapper<MainViewModel> { protected override void ConfigureIoC(IStyletIoCBuilder builder) ...

Posted by kurios on Mon, 07 Mar 2022 08:13:39 +0100

.NET6: Developing modern three-dimensional industrial software based on WPF

Python WeChat Subscription Applet Course Video https://edu.csdn.net/course/detail/36074 Python Actual Quantitative Transaction Finance System https://edu.csdn.net/course/detail/35475 As a modern industrial software, the ability to provide programmable scripting is essential. Scripts can be used for secondary development and automated testing ...

Posted by Welling on Sat, 26 Feb 2022 18:23:31 +0100

[WPF] Use Effect to play with Shadows, Inner Shadows, Long Shadows

Python WeChat Subscription Applet Course Video https://edu.csdn.net/course/detail/36074 Python Actual Quantitative Transaction Finance System https://edu.csdn.net/course/detail/35475 Recently, I've been learning how to write custom effects using Shazzam Shader Editor and trying to achieve effects for shadows, inner shadows, and long shadows. ...

Posted by GBS on Sat, 26 Feb 2022 18:21:03 +0100

The difference between ObservableCollection and List and the asynchronous call of ObservableCollection

Summary of differences between ObservableCollection and List The simplest difference between their classes is their methods of inheritance. (learning skills will make you get twice the result with half the effort and improve your efficiency.) study ObservableCollection is relatively simple. It inherits collection, inotifycollectionchanged and ...

Posted by Wardy7 on Mon, 31 Jan 2022 03:26:12 +0100

WPF_15_ Format bound data

In order to get a more human appearance, you need to design how to trim data lists and data fields. data conversion In the basic binding, there is no change in the transfer of information from source to target. But sometimes we want to transform the information into more friendly content and then present it to the interface. WPF provides two ...

Posted by dreamline on Wed, 19 Jan 2022 20:03:08 +0100

prism8 for wpf study notes

What is Prism? Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF and Xamarin Forms. Prism provides the implementation of a set of design patterns. These patterns help to write well structured and maintainable XAML applications, including MVVM, dependency injection, command, EventAggregat ...

Posted by patheticsam on Sat, 15 Jan 2022 00:17:51 +0100

[WPF] line shadow Effect with Effect

1. Preface A few months ago, the ChokCoco boss published an article: CSS tricks | use drop shadow to achieve line light and shadow effect In the article, a luminous heart-shaped line chasing each other is realized: Now I'm just free to try WPF. In the implementation process, I use these knowledge and skills: Segoe Fluent Icon Font Create Path ...

Posted by ladokha on Thu, 13 Jan 2022 03:24:39 +0100

Lightweight UI control library worth collecting

Program developers use the third-party UI library more for convenience and convenience. They implant the control into the project without studying the implementation details of the UI control. At the same time, there are basic attribute settings to change its style. In this way, the project can be developed faster and save a lot of time.Newbeec ...

Posted by adrianuk29 on Wed, 12 Jan 2022 05:24:19 +0100