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 6096903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:58:52+00:00 2026-05-23T12:58:52+00:00

Recently i got explained that MVVM can only be done the right way if

  • 0

Recently i got explained that MVVM can only be done “the right way” if i use DataTemplates. Is this truely the case?

I’d say its a good idea to use DataTemplates if you want highly reusable “Views”.

But if i am going to develop an application that has, say, five to ten different pages, and there is very little to none reuse of specific controls (like the “Person” view is only used once, and its highly likely that this requirement doenst change), why cant i simply create a usercontrol and put that directly into the code?

Am i missing some important core principle of MVVM here?

  • 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-23T12:58:52+00:00Added an answer on May 23, 2026 at 12:58 pm

    Main selling point of MVVM is separation of View from the ViewModel (so that VM doesnt know about View) by using powerful Binding feature of WPF.

    DataTemplates are a just another feature which allows you to represent data in different way. As you have said, if you dont have reusable DataTemplate then dont create one, even if you do make sure it resides in the View’s Resources, you can share it wider group if you wanted do.

    using UserControl can be useful where you need to do something extra (apart from simple representing data), for example, some complex validation or extra commands/buttons

    I dont think MVVM and DataTemplates are related in the same context.

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

Sidebar

Related Questions

recently got an issue when loading vs 2008, it displays this... can anyone tell
I recently got a shiny new development workstation. The only disadvantage of this is
I recently got hired as a web developer, and the project that I am
We recently got a call from one of our clients, complaining that their site
Recently got this in my Event Log: A fatal hardware error has occurred. Reported
I recently got some fade in stuff working so that my loading view is
I recently got a new printer (specifically a HP Photosmart C6380 if that helps)
I recently got started trying to use SFML. For some reason my simple program
I recently got started trying to use SFML. For some reason my simple program
I recently got thinking about alignment... It's something that we don't ordinarily have to

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.