Click here to Skip to main content
15,911,646 members

Comments by nashi (Top 3 by date)

nashi 12-Aug-15 16:11pm View    
I concatenate couple of properties in one TextBlock (Name, Statistics, etc... ). In this situation I cannot send only one Property (for example Name). When i send by reference it is simple and it is work fine. But when I try RaisePropertyChange("Name") nothing happend. That's because this is reference to couple properties in one TextBlock.

When user update one of the property i need to send also this information to this TextBlock with reference. But I cannot do this. Only I want is send information to TextBlock that you should recalculate your value because one of properties has changed.

nashi 12-Aug-15 15:29pm View    
Yes, but i can Binding without Property Name. Text={Binding}. In this situation Instance of the object is send to the Converter class (type: Project).

But when i did this and change one of the property RaisePropertyChange() doesn't work.
I try RaisePropertyChange(null), RaisePropertyChange("."),RaisePropertyChange("") or something similar but I cannot find how to tell that my instance of the object changed.

I think that should be simpler option that RaisePropertyChange("ID_OF_THE_OBJECT") then search Instance with this ID in the list of objects and change property just to tell that this value has changed.
nashi 18-Nov-14 5:21am View    
No, virtual means only that can be overriden within an inheriting class . If its final than i can remove virtual.