This article demonstrates the use of C# WPF notification changes to public classes, simplifying the code by using public classes. The usage of commands is also implemented in the code.
definition:
INotifyPropertyChanged interface: used to notify the client (usually the client performing the binding) that a certain property value has changed .
First create a WPF project and add buttons and text controls
<Window x:Class="ChangedDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/mark