Click here to Skip to main content
15,897,273 members

Comments by Member 7796817 (Top 5 by date)

Member 7796817 10-Jun-11 12:10pm View    
Actually the base class has the observable Collection as property and the two windows inherit such from the base class.
Member 7796817 10-Jun-11 12:09pm View    
Deleted
Actually the base class has the observable Collection as property and the two windows inherit such from the base class.
Member 7796817 27-May-11 20:03pm View    
Excellent stuff Mark, actually as you mentioned the derived class inherits all including the binding. Thus the problem lay in a method that I didn't implement and this concerned the deserialization. Thanks for the help.
Member 7796817 27-May-11 14:36pm View    
Let me clarify. What I have is a base class that inherits from "Window" and holds the properties and methods of two windows which inherit their methods from the base class. The windows have both .xaml.cs and .xaml files and the base class is just .cs. Prior to including the base class as a parent structure, the windows had their properties in their respective classes and were bound to self as a result (relativesource self). However with the inheriting class, I seek to bind the windows to the parent class as "relativesource self" doesn't seem to perform as before.

Member 7796817 27-May-11 14:22pm View    
I think with RelativeSource set to self may imply the properties specific to that window and not to the base class (correct me if I'm wrong). What is understood is that prior to the inclusion of the base class, the above mentioned syntax allowed the binding updates without issue.