Giter Site home page Giter Site logo

wpfreports's Introduction

WPFReports

It is a simple WPF application showing how to write custom XAML/C# reports (or widgets - I just use both names). It also show some WPF/C# methods and solutions.

Getting started

Clone the repository. Build solution and simple run using F5.

Built with

  • MVVMLight - most popular MVVM framework, mvvmlight.net

  • MahApps.Metro - my favorite library of pretty controls, mahapps.com

  • ModernUICharts - greate library of modern-looking charts for WPF/Silverlight/UWP, modernuicharts.codeplex.com

  • Newtonsoft.Json - library to parse json data, newtonsoft.com

  • Moq - for testing, github

  • PKCode.Scripting - quite old library written by me to execute C# code

How to use code

The solution contains two projects

  • Statistics.Core.Widgets - this project contains whole reporting engine. Definitions and implementations of all interfaces/classes that are needed to work with widgets. Tha main iterface is IWidgetService, that can be used to load and run widgets from files. To work with designer, it is needed to use IWidgetManagerService. It simple loads, creates, saves and deletes widgets.

  • WPFReports - this is an sample projects that shows how to use widgets library. I tried to use SOLID principles and MVVM. I put here some examples of real life WPF solutions (converters, navigation service, notification service, styles, behavior to bind CLR property of textbox etc.).

Screenshots

Main menu

Main menu

Loading items in view mode

Laoding

Display page. Simple widget with custom WPF control

Display

Designer. Report code

Designer

Designer. Report layout XAML code

Designer 2

Designer. Preview of created report

Designer 3

License

?

wpfreports's People

Contributors

darthmaure avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.