2 instantiations of RibbonButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1910return new RibbonButton(); 1927return new RibbonButton();
38 references to RibbonButton
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (4)
33public RibbonButtonAutomationPeer(RibbonButton owner): base(owner) 46string accessKey = ((RibbonButton)Owner).KeyTip; 70name = ((RibbonButton)Owner).Label; 84RibbonToolTip toolTip = ((RibbonButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (31)
30[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))] 41Type ownerType = typeof(RibbonButton); 75RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(RibbonButton)); 90RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(RibbonButton)); 105RibbonControlService.LabelProperty.AddOwner(typeof(RibbonButton)); 120RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 135RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 150RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 165RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 180RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 195RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 210RibbonControlService.CornerRadiusProperty.AddOwner(typeof(RibbonButton)); 229RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 244RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(RibbonButton)); 259RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 274RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonButton)); 305RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonButton)); 319RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonButton)); 334RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonButton)); 349RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 364RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(RibbonButton)); 379RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonButton)); 394RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 435RibbonButton button = (RibbonButton)d; 454RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonButton)); 511RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonButton)); 526RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonButton), 547KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonButton)); 568((RibbonButton)sender).OnActivatingKeyTip(e); 581((RibbonButton)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
514RibbonButton button = _headerButton as RibbonButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
24[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(RibbonButton))]