2 instantiations of RibbonButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1935return new RibbonButton(); 1952return new RibbonButton();
38 references to RibbonButton
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (4)
34public RibbonButtonAutomationPeer(RibbonButton owner): base(owner) 47string accessKey = ((RibbonButton)Owner).KeyTip; 71name = ((RibbonButton)Owner).Label; 85RibbonToolTip toolTip = ((RibbonButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (31)
31[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))] 42Type ownerType = typeof(RibbonButton); 76RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(RibbonButton)); 91RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(RibbonButton)); 106RibbonControlService.LabelProperty.AddOwner(typeof(RibbonButton)); 121RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 136RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 151RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 166RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 181RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 196RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 211RibbonControlService.CornerRadiusProperty.AddOwner(typeof(RibbonButton)); 230RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 245RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(RibbonButton)); 260RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton)); 275RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonButton)); 306RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonButton)); 320RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonButton)); 335RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonButton)); 350RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 365RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(RibbonButton)); 380RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonButton)); 395RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonButton)); 436RibbonButton button = (RibbonButton)d; 455RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonButton)); 512RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonButton)); 527RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonButton), 548KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonButton)); 569((RibbonButton)sender).OnActivatingKeyTip(e); 582((RibbonButton)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
524RibbonButton button = _headerButton as RibbonButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
25[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(RibbonButton))]