Code Monkey home page Code Monkey logo

wpfhelpers's Introduction

WPF Helpers

WPF helpers is set of classes and resources wrapped up in an assembly to get up to speed with a new WPF MVVM based project targeting .NET Framework 4.0. As this targets framework 4.0, should work with .NET 4+ as well (haven't tested it though). As of now this assembly provides below mentioned features.

  • CommandBase is an abstract class which provides boilerplate implemention for commanding.
  • NotificationBase is an abstract class which provides boilderplate implementation for raising notifications.
  • ViewModelBase is an abstract class which provides boilerplate implementation for making view models. It has additional methods like GetView which searches and creates an instance of View and injects view model as DataContext, ShowDialog and HideDialog to show and hide a view as modal dialog respectively, IsInDesignMode property tells if a view is open in designer, etc.
  • RelayCommand allows you to execute methods as commands. It allows callbacks and async execution.
  • AssemblyInformation gives you metadata of passed in assembly's instance.
  • DirectoryWalker lets you recursively traverse directories without running into stack overflows as its implementation relies on heap and not recursion.
  • PlatformInvoke encapsulates certain methods which are not directly supported by .NET framework like run a program with user name and password, activate another window, get a window's handle, toggle a caret on textbox, hide a window, minimize a window, show a window, get public desktop directory, get start menu directory, select a folder, create a shortcut, etc.
  • SettingsManager allows saving of settings in an encrypted file.
  • ZipStorer allows compression and decompression of ZIP archives.
  • ColumnHeaderBehaivor is a custom behavior to auto generate column headers of DataGrid based on annotation. It allows hiding of columns too.
  • PasswordBoxBindingBehavior allows binding password of a password box to a string property.

This package is available via nuget, execute below mentioned command in nuget console.

Install-Package NullVoidCreations.WpfHelpers

Licensing

Licensing is a component which developers can use in thier projects to incorporate machine bound licenses for their softwares. This package is available via nuget, execute below mentioned command in nuget console to include it.

Install-Package NullVoidCreations.Licensing

wpfhelpers's People

Contributors

waliarubal avatar jitendrasuthar avatar

Watchers

James Cloos avatar Nguyen Thai Hoang 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.