public TransitionFrame() : base() { DefaultStyleKey = typeof(TransitionFrame); Navigating += OnNavigating; NavigationStopped += OnNavigationStopped; }