Why doesn't my ObservationCollection have any PropertyChanged event? I checked the documentation and it should contain a PropertyChanged event that's triggered every time the property of the class gets changed. Is it not the case?
public class ControlObjectsPropertyOnHold //TODO change to ObservableCollection
{
public string Name { get; set; }
public Rhino.DocObjects.ObjRef ObjRef { get; set; }
public System.Guid ObjGuid { get; set; }
public ControlObjectsPropertyOnHold(string name, Rhino.DocObjects.ObjRef objRef, System.Guid objGuid)
{
if (null != name)
{
Name = name;
ObjRef = objRef; //Place-holders in case there are more to store
ObjGuid = objGuid;
}
}
}
Edit: Took EventHorizon's advice but still doesn't work. When ControlObjectsPropertyOnHold.Name is changed, nothing fires.