Click here to Skip to main content
15,885,366 members

Comments by cyberist (Top 15 by date)

cyberist 6-Feb-13 12:53pm View    
It means when null then return (this.teacher = new Teacher()). Does compiler know to wait till teacher gets initialized and then to return the instance?
cyberist 6-Feb-13 8:00am View    
Does that mean that the teacher will be created each time i call the getter?
cyberist 31-Jan-13 3:04am View    
The Columns are far away from Rows and Row want to insert the instance of Columns without to go find the Columns in Tree.
cyberist 31-Jan-13 2:42am View    
@Sergey I have updated my question. Please notice the VisialTree. You will see that rows dont know about headers but rows would like to get the instance of headers. Also please notice in my question that I dont want to use VisualTreeHelper which help you do the tree traversal. I dont want to run up the tree. I want to inject the instance but I dont know how.
cyberist 30-Jan-13 9:59am View    
@Sergey I cannot follow the same pattern because in WPF I would need to to find the UIElement and then to insert its instance. I dont want to look use VisualTreeHelper.GetParent or VisualTreeHelper.GetChild everytime I need an instance. So therefore I am asking here to provide me how to do It without. Please read my question again and you will realize that I would rather stay away from traveling up the tree.