I think that you need a property because (as the name suggests)
INotifyPropertyChanged is for property changes within an object. There is
no interface that would say that the object itself should be considered as
different. If you want to refresh all properties on an object you can fire
PropertyChanged with the name set to null which will refresh all properties
but even that won't help you in your case.

What you need is a property.

You could simply have a property that returns the instance itself and then
call PropertyChanged for this property whenever something changes. Of
course, this would update all bindings and make the whole thing more
expensive.

Example:

<TextBlock Text="{Binding Path=Me,
Converter={...},ConverterParameter='Name'}" ... />

where Me is a property

public object Me {return this;}

and you call the PropertyChanged for Me whenever anything changes.

Patrick

On Mon, Feb 20, 2012 at 9:23 AM, Grant Molloy <[email protected]> wrote:

> Maybe yo need to fire off a bastardised INotifyPropertyChange event and
> let it bubble up to the form, catch and handle it there, and find the
> instance within the rows of the grid, and refresh that item.
> On 20/02/2012 9:18 AM, "Greg Keogh" <[email protected]> wrote:
>
>>  My class in the collection I’m binding to fully implements
>> INotifyPropertyChange. The problem is that I’m binding to the actual object
>> (without a Path=), not to its properties. So when a property changes no
>> binding is updated. I found this guy with the same question:****
>>
>> ** **
>>
>>
>> http://rredcat.blogspot.com.au/2009/06/this-whimsical-binding-twoway-binding.html
>> ****
>>
>> ** **
>>
>> Greg ****
>>
>> _______________________________________________
>> ozwpf mailing list
>> [email protected]
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
>>
>>
> _______________________________________________
> ozwpf mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
>
>
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to