Questions tagged [fody-propertychanged]

Fody add-in for injecting INotifyPropertyChanged code into properties

Fody add-in for injecting INotifyPropertyChanged code into properties.

79 questions
1
vote
1 answer

PropertyChanged.Fody migrating notifypropertychanged

I have been using NotifyProperyWeaver and noticed it is deprecated in the latest build to Fody using PropertyChanged.Fody. I had NotifyProperyWeaver to only weave the properties i had attributes on and all other notifying was disabled. Is there a…
0
votes
1 answer

Issue with data binding in .NET MAUI using AddINotifyPropertyChangedInterface

I am experiencing an issue with data binding in .NET MAUI when using the [AddINotifyPropertyChangedInterface] attribute from the PropertyChanged.Fody package. I have a view model that implements the INotifyPropertyChanged interface using this…
0
votes
1 answer

How to handle Fody related issues

I have just taken over a C# application, which seems to use some Fody library (whatever that means). First I had some problems that the Fody things were not working, not recognised, ..., and I've removed the Fody package and the PropertyChanged…
Dominique
  • 16,450
  • 15
  • 56
  • 112
0
votes
0 answers

Fody not weaving PropertyChanged

I'm having trouble getting Fody & PropertyChanged working. I've got a .NET 4.7.2 project with both Fody(6.6.4) and PropertyChanged.Fody (4.1.0) packages added through NuGet, but only "PropertyChanged" shows in the solution explorer. My example…
AMG
  • 139
  • 13
0
votes
1 answer

Fody.PropertyChanged: RaisePropertyChanged does not work for DependsOn Properties

For building the WPF application I used VS2022 (V17.4.4) and NuGet Fody.PropertyChanged Package (V4.1.0). If a property is set directly, the PropertyChanged event will be raised for the property itself and all the [DependsOn] properties as well. But…
jauchand
  • 17
  • 4
0
votes
0 answers

Disable tile in realtime

I am trying to disable a Tile when I start work on Azure. As you can see, I am using Fody to handle all my PropertyChanged events, but for some reason, it doesn't want to disable and enable again when I am finished. If you take a look, when I start…
edu
  • 87
  • 2
  • 8
0
votes
1 answer

Xamarin Forms: Propertychanged is not triggered when refreshing from database

I'm having an object in my viewmodel which consists of an Id and some other attributes. my equality check contains the check on Id, so I can identify items in lists when refreshing. public override bool Equals(object obj) { if…
Michael O
  • 67
  • 5
0
votes
1 answer

Realtime validation of a button, using fody

I a trying to disable and enable a button based on user input. I implemented fody property changed Nuget package, to help me reduce my code a bit. and it works, when I start typing, the breakpoint in my LoginViewModel gets hit and display my values …
edu
  • 87
  • 2
  • 8
0
votes
2 answers

Unable to get PropertyChanged.Fody to work in Xamarin.Forms App

I'm trying to implement PropertyChanged.Fody in my Xamarin.Forms app. I followed this blog post: https://xamgirl.com/validation-snippets-in-xamarin-forms/ and used the following git project as a…
fnllc
  • 3,047
  • 4
  • 25
  • 42
0
votes
1 answer

Fody System.OutOfMemoryException

I have a Xamarin Forms project where I use PropertyChanged.Fody. I have update at the version 3.2.8 and this error is trigger when I try to compile the PCL project. I'm on Visual Studio 16.6.0 on Windows. How can I solve this? Severity Code …
Hikari
  • 589
  • 7
  • 29
0
votes
0 answers

Can't extend MVVMLight's ViewModelBase with INotifyPropertyChanged

I had been using my own ViewModelBase and RelayCommand, and recently I installed MVVMLight, as well as PropertyChanged.Fody. It appears that PropertyChanged.Fody doesn't notify if you're using a custom setter, so I do need to implement…
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129
0
votes
1 answer

Howto do i get correct CommandParameter Binding with dynamic menus in wpf and mvvm

i'm implementet a dynamic menu service in my WPF Application. Every Command can or should have different CommandParameters. The Problem: With my solution to set the CommandParamter binding in xaml the CanExecute property from the command doesent…
0
votes
1 answer

DataGrid's values not updating when source is modified unless double clicked

My DataGrid's values does not seem to update when the values in it is modified. I have tried: Setting the Mode to TwoWay Using BindableCollection (from Caliburn.Micro) Using ObservableCollection Using a List Merging QuotationViewModel with…
Kao
  • 106
  • 5
0
votes
0 answers

Xamarin Forms and PropertyChanged.Fody not updating UI

I have a Xamarin Forms project using MVVM in which I am attempting to use Fody and the PropertyChanged.Fody package. No matter what I try it simply does not work. I have spent the day searching for examples of projects using PropertyChanged.Fody and…
Sev
  • 883
  • 1
  • 14
  • 34
0
votes
1 answer

C# MVVM How to update viewmodel string from the model

I am really new to mvvm and wpf in c# and got stuck at some very basic stuff.In this example I am using Fody.PropertyChanged. I have a basic viewmodel that holds a string called Test which is binded to a textblock. public class Model :…
Catalin
  • 147
  • 1
  • 2
  • 11