If I inherit my custom control from DataGrid and use its Columns, DataContext flows from ItemsSource to Bindings in columns just fine. I would like to do the same with my custom control, which doesn't inherit from DataGrid. What is the magic behind DataGrid.Columns getting the context from ItemsSource?

Hey AdamSpeight2008, I've read your blog post here, and it's a pity there's close to none readers of it. You provided VB.NET and C# examples, but in reality there are only VB.NET examples and no one noticed. I've just created new Azure VM with VS2015 preview, and installed SDK and other recommended VSIX. I will go through diagnostic and code fix scenarios, and will try your example as well. I'll be back with some more questions for sure. Thanks again for being helpful.

First of, thank you Adam for your contribution. I must admit, I have no idea what this is about. Is this something new for Roslyn, or where should I start looking for? Where do those template and CS.Expr come from? Can you provide some useful links perhaps? I went searching for "template function", "template mask", "CS class", "CS.Expr", and so on. I'm sure I'm not the only one puzzled here

Nah, I'm not aiming at another award this month. I'm not working in IT, so I don't have access to a computer till late evening. And since I'm getting back to work, at least for some time - I won't have a chance to post as often as I did last month.

If only I had that kind of patience. ;) 555 posts, nice clean sphenic number. Oh, it's also Harshad/Niven number. And 147 rep - 147 AD is 900 years after founding of Rome, so it's nice too. ;) Gawd, Raghav, I cought it from you! :P

Thank you very much lucky3 :) Well, I guess that is probably my nature :) When I see posts from beginners, I remember my beginner days and recollect the problems I used to face :) Sure, I shall continue to do so :) Thanks again :)