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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:33:06+00:00 2026-06-07T02:33:06+00:00

I am writing a C# app using the MVVM pattern and I was wondering

  • 0

I am writing a C# app using the MVVM pattern and I was wondering what would be the best way to implement change tracking on a per property basis. I currently have INotofyPropertyChanged implemented and flag whether or not the whole object is dirty, but some of the requirements I have to implement is they want to be able to show an image by the text box on the UI for every property that has been changed.

Basically my View Models all have a private field that is my class containing the data from my DataAccess Layer. So basically a class will look like this:

private BusinessObj _data


public Name
{
    get{ return _data.Name;}
    set
    {
       if(_data.Name != value)
       {
           _data.Name = value;
           PropertyChanged("Name");
           IsDirty = true;
       }
    }
}

My data access layer is basically serializing and deserializing XAML profiles for configuring our products.

  • 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-06-07T02:33:07+00:00Added an answer on June 7, 2026 at 2:33 am

    You can use ObservableCollection in your Model Class and have your UI subscribe the event when the observable business data collection changed.

    in Model View

    public class BusinessObjList : ObservableCollection<BusinessObj>
    {
       public BusinessObjList() : base()
    
       public void AddBusinessObj
       {
           // your own manipulation
       }
    }
    

    in UI

    BusinessObjList BL = new BL();
    BL.CollectionChanged += new NotifyCollectionChangedEventHandler(bl_CollectionChanged);
    
    static void bl_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
    {
       // handle the change in UI.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an app using the MVVM (Model-View-ViewModel) pattern and am leveraging the
I'm writing a Silverlight app using the MVVM pattern. I have a main view
In a WPF app that I'm writing using the MVVM pattern, I have a
I began writing an app using declarative_authorization ( http://github.com/stffn/declarative_authorization ) but I'm now wondering
I was writing the layout of an app using the box-flex property (in Chrome)
I'm writing a web app using python with web.py, and I want to implement
I'm writing an MDI app using Managed dx9. When I create the Device, I
I am writing my app in JavaScript using Appcelerator's Titanium IDE. I've been working
I am writing a plain vanilla c++ console app using VS 2008. When I
I'm writing an Adobe AIR app using plain HTML which needs to upload photos

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.