Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 606055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:12:48+00:00 2026-05-13T17:12:48+00:00

as per my understanding about mvvm is. there is a model (entity class that

  • 0

as per my understanding about mvvm is.

there is a model (entity class that also implement inotify…), view (xaml code) and some class as vm (kind of controller which normally inherit icommand) to let us make events/commands to be generated on specific event…

m just wondering about difference between viewmodel class and xaml’s code behind class… why don’t we simply consider and enhance code behind…

no considerable reason is in my mind to justify this…

or kindly write somethng with example to clear mvvm… and why mvc or mvp is hell for wpf app????

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:12:48+00:00Added an answer on May 13, 2026 at 5:12 pm

    The Model does not implement INotifyPropertyChanged, the ViewModel does. The actual WPF view data-binds to the ViewModel. There is now a lot of documentation online for this.

    http://msdn.microsoft.com/en-us/magazine/dd419663.aspx

    MVVM is identical to Fowler’s
    Presentation Model, in that both
    patterns feature an abstraction of a
    View, which contains a View’s state
    and behavior.

    http://blogs.msdn.com/johngossman/archive/2005/10/08/478683.aspx

    In practice however, only a small
    subset of application UI can be data
    bound directly to the Model,
    especially if the Model is a
    pre-existing class or data schema over
    which the application developer has no
    control. The Model is very likely to
    have a data types that cannot be
    mapped directly to controls. The UI
    may want to perform complex operations
    that must be implemented in code which
    doesn’t make sense in our strict
    definition of the View but are too
    specific to be included in the Model
    (or didn’t come with the pre-existing
    model). Finally we need a place to
    put view state such as selection or
    modes. The ViewModel is responsible
    for these tasks. The term means
    “Model of a View”, and can be thought
    of as abstraction of the view, but it
    also provides a specialization of the
    Model that the View can use for
    data-binding. In this latter role the
    ViewModel contains data-transformers
    that convert Model types into View
    types, and it contains Commands the
    View can use to interact with the
    Model.

    MVVM is associated with WPF because WPF’s data binding mechanism when combined with this pattern makes testable GUIs a breeze.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.