Пример #1
0
        public static void OverflowOpenPropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            RibbonQAToolBar tb = (RibbonQAToolBar)o;

            tb.IsMenuOpen = false;
        }
Пример #2
0
        private static void HasOverflowItemsPropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            RibbonQAToolBar toolbar = (RibbonQAToolBar)o;

            toolbar.CreateMenuItems();
        }