Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janluksoft/wpfmvvmbarcharts
A WPF application with MVVM pattern with a bar charts and RelayCommands
https://github.com/janluksoft/wpfmvvmbarcharts
c-sharp chart dotnet mvvm mvvm-pattern visual-studio wpf wpf-application
Last synced: 2 days ago
JSON representation
A WPF application with MVVM pattern with a bar charts and RelayCommands
- Host: GitHub
- URL: https://github.com/janluksoft/wpfmvvmbarcharts
- Owner: janluksoft
- Created: 2022-10-07T23:53:53.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-07T23:53:57.000Z (about 2 years ago)
- Last Synced: 2024-01-08T21:35:41.251Z (10 months ago)
- Topics: c-sharp, chart, dotnet, mvvm, mvvm-pattern, visual-studio, wpf, wpf-application
- Language: C#
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WPF MVVM BarCharts
A WPF application with MVVM pattern with a bar charts and RelayCommands
The application demonstrates the use of the MVVM pattern for simple CRUD operations.
Example Data [Database] is stored in rows of Collections [ObservableCollection]. This data is connected to graphical controls and a ListBox array. Operations in the array automatically change the database and bar charts.
An intermediate abstract class [abstract class CObservable : INotifyPropertyChanged] is used. The class does a simple definition of the data in the row (usually the User class). It makes the get, set fields have only one line each. Maybe it can be written even simpler.
A central class was also used: [RelayCommand : ICommand] for universal messaging.
In another place I have the simplest application to use the MVVM pattern.## CRUD operations:
Adding data (Create);
Drawing charts (Read);
Editing data (Update);
Deleting data (Delete);## Details
VS2017 and Target Framework: .NET Framework 4.6.1![](WPF_app_MVVM_pattern_BarChart.png)