Giter Site home page Giter Site logo

mvvm's Introduction

Mvvm

NuGet Status
Some useful stuff for better Mvvm in WPF

Features

  • XCommand (To bind between Events, Commands, Methods and Property for CanExecute) with smart refresh of the CanExecute (Have some code evaluation features similar to Eval).
  • Eval Binding with Code Evaluation (Avalonia UI Style and more)
    • On DataContext (Properties and methods directly available)
    • ElementName #Name.Something
    • RelativeSource $self, $parent (LogicalTree), $$parent (VisualTree), $parent[TypeName], $parent[3], $parent[TypeName,2]
    • StaticResource @ResourceKey
  • XMultiBinding for nesting MultiBinding, Binding, Eval and other markups. You can use at each level IMultiValueConverter, IValueConveter (Work very well with CodingSeb.Converters)
  • IRelayCommand (That inherit from ICommand) to call RaiseCanExecuteChanged() from anywhere
    • RelayCommand
    • RelayCommand<T>
  • Some extensions methods to navigate in both VisualTree and LogicalTree easily from C#
  • NotifyPropertyChangedBaseClass the class to inherit that implementing INotifyPropertyChanged and a public virtual void NotifyPropertyChanged([CallerMemberName] string propertyName = "")

Code Evaluation stuff use CodingSeb.ExpressionEvaluator

You can also use PropertyChanged.Fody and/or ReactiveUI.Fody to simplify more your Mvvm code

mvvm's People

Contributors

codingseb avatar

Stargazers

 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.