2 instantiations of RibbonButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1936return new RibbonButton(); 1953return new RibbonButton();
38 references to RibbonButton
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (4)
35public RibbonButtonAutomationPeer(RibbonButton owner): base(owner) 48string accessKey = ((RibbonButton)Owner).KeyTip; 72name = ((RibbonButton)Owner).Label; 86RibbonToolTip toolTip = ((RibbonButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (31)
34[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))] 45Type ownerType = typeof(RibbonButton); 79RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(RibbonButton)); 94RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(RibbonButton)); 109RibbonControlService.LabelProperty.AddOwner(typeof(RibbonButton)); 124RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 139RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 154RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 169RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 184RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 199RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 214RibbonControlService.CornerRadiusProperty.AddOwner(typeof(RibbonButton)); 233RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 248RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(RibbonButton)); 263RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 278RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonButton)); 309RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonButton)); 323RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonButton)); 338RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonButton)); 353RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 368RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(RibbonButton)); 383RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonButton)); 398RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 439RibbonButton button = (RibbonButton)d; 458RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonButton)); 515RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonButton)); 530RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonButton), 551KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonButton)); 572((RibbonButton)sender).OnActivatingKeyTip(e); 585((RibbonButton)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
526RibbonButton button = _headerButton as RibbonButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
28[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(RibbonButton))]