Пример #1
0
        public void ClearNavigatingInvocationList()
        {
            if (Navigating != null)
            {
                Delegate[] associatedDelegates = Navigating.GetInvocationList();

                foreach (var d in associatedDelegates)
                {
                    Navigating -= (d as NavigatingCancelEventHandler);
                }
            }
        }