Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philipp2604/wpfbase_template
A base template for a C# WPF application featuring page navigation.
https://github.com/philipp2604/wpfbase_template
Last synced: 2 months ago
JSON representation
A base template for a C# WPF application featuring page navigation.
- Host: GitHub
- URL: https://github.com/philipp2604/wpfbase_template
- Owner: philipp2604
- License: mit
- Created: 2024-08-07T12:52:17.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-12T13:57:58.000Z (4 months ago)
- Last Synced: 2024-08-13T14:45:47.546Z (4 months ago)
- Language: C#
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WpfBase_Template · [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) · [![build and test](https://github.com/philipp2604/WpfBase_Template/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/philipp2604/WpfBase_Template/actions/workflows/build-and-test.yml)
## Description
This is a simple base template for WPF application with page navigation.
**
This template is just a simple base.
**Although it's just a basic template, there are two sample pages included, making it an executable sample.
## Usage
1. Prepare your shell window (`ShellWindowView.xaml`) to fit your design wishes.
1. Optionally, modify the view model.
2. Add and design your pages, optionally.
1. Optionally, add view models.
(If you want your view models to be triggered when navigated to/from them, implement the `INavigationAware` interface).
3. Add page keys for your pages to `NavigationConstants.cs`.
4. Register services for pages and view models in `RegisterServices` function inside `App.xaml.cs`.
5. Register pages for navigation in `RegisterNavigation` function inside `App.xaml.cs`.
6. Set up your start page in `Initialize` funciton inside `AppHostService.cs`.**
Feel free to reach out, if help is needed.
**## Example screenshots
These screenshots show the example pages, included in the project.
Navigation is possible via ShellWindow menu or via buttons on the pages.![MainPage](./Screenshots/Example_MainPage.png)
![MainPage](./Screenshots/Example_SecondPage.png)## Ideas
* Add dialogs.
* ?
## Third Party Software / Packages
Please have a look at [THIRD-PARTY-LICENSES](./THIRD-PARTY-LICENSES.md) for all the awesome packages used in this template.## License
This template is [MIT licensed](./LICENSE.txt).