I'm using Visual Studio 2013 to create a WPF application. I added a map and a legend control to my window control. I'm trying to understand the flow of the application, so I use pf11 to step thru the application. I don't see the legend class being instantiated, so I was wondering at what point does the legend class get instantiated ?