private static void LoadComponent(FrameworkElement element, FrameworkElement root) { element.BindProperties(); element.BindEvents(root); }