public RibbonControl() { this.OverrideStyleKey <RibbonControl>(); QuickAccessToolBar = new RibbonToolBar(); QuickAccessToolBar.SetBinding(Extension.SkinProperty, new Binding { Path = new PropertyPath(RibbonControlStyling.QuickAccessToolBarSkinProperty), Source = this }); var ribbonPageCategory = new RibbonPageCategory(this); Pages = new RibbonPageCollection(ribbonPageCategory); SelectorController = new SelectorController <RibbonControl, RibbonPage>(this, new RibbonControlSelectorAdvisor(this, ribbonPageCategory)) { AllowNullSelection = false }; }
private void OnRibbonItemRemoved(RibbonToolBar toolBar) { }
internal RibbonItemCollection(RibbonToolBar toolBar) : base(toolBar) { ToolBar = toolBar; }
private void OnRibbonItemAdded(RibbonToolBar toolBar) { }