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

  • Home
  • SEARCH
  • 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 7041045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:59:27+00:00 2026-05-28T01:59:27+00:00

If you implement INotifyPropertyChanged, you could raise event in non-UI thread – should i

  • 0

If you implement INotifyPropertyChanged, you could raise event in non-UI thread – should i avoid this and why?

Update: It is about binding in wpf application.

  • 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-28T01:59:28+00:00Added an answer on May 28, 2026 at 1:59 am

    No you should not avoid this. WPF marshals PropertyChanged events to the UI thread on your behalf, but even if it did not, it is likely not the component’s responsibility to do so.

    UPDATE: I slightly misinterpreted your question. For some reason I thought you were asking specifically about background components not directly related to UI.

    If your component is intended for direct consumption by the UI, then it may make sense to marshal changes to the UI thread, such as with Windows Forms. However, if the component is UI agnostic, it does not generally make sense, although if necessary you can switch to the UI thread in an agnostic fashion by using the current SynchronizationContext.

    I do marshalling as and when needed with WPF, because as I stated normally you don’t need to since WPF does it for you. But if you’re changing collections too then you will need to, since such changes are not automatically marshalled.

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

Sidebar

Related Questions

In classes that implement INotifyPropertyChanged I often see this pattern : public string FirstName
I have setup a property and implement INotifyPropertyChanged like so... public event PropertyChangedEventHandler PropertyChanged;
When doing databinding does one have to implement INotifyPropertyChanged on the datacontext in WPF?
The question is how to implement INotifyPropertyChanged on a static property because the event
When I implement INotifyPropertyChanged does the code using the event use reflection to fish
I see below code in this link : An elegant way to implement INotifyPropertyChanged
I have a viewmodel which implement INotifyPropertyChanged . On this viewModel is a property
Task: implement paging of database records suitable for different RDBMS. Method should work for
In this post i found INotifyPropertyChanged and i check it's example but I notice
This problem could be bad class design or ignorance - please bear with me:

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.