Пример #1
0
        /// <summary>
        /// A static helper method to raise the <see cref="ActiveViewChanged"/>
        /// event on a target <see cref="SplitterContainer"/>.
        /// </summary>
        private static void RaiseActiveViewChangedEvent(SplitterContainer target)
        {
            if (target == null)
            {
                return;
            }

            var rags = new RoutedEventArgs {
                RoutedEvent = ActiveViewChangedEvent
            };

            target.RaiseEvent(rags);
        }
Пример #2
0
        /// <summary>
        /// A static helper method to raise the <see cref="ActiveViewChanged"/>
        /// event on a target <see cref="SplitterContainer"/>.
        /// </summary>
        private static void RaiseActiveViewChangedEvent(SplitterContainer target)
        {
            if (target == null)
            {
                return;
            }

            var rags = new RoutedEventArgs { RoutedEvent = ActiveViewChangedEvent };
            target.RaiseEvent(rags);
        }