public void OnXamlRendered(FrameworkElement control) { _infiniteCanvas = control.FindChild("canvas") as InfiniteCanvas; }