1 instantiation of RibbonToggleButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1948return new RibbonToggleButton();
64 references to RibbonToggleButton
System.Windows.Controls.Ribbon (64)
Microsoft\Windows\Automation\Peers\RibbonToggleButtonAutomationPeer.cs (4)
34public RibbonToggleButtonAutomationPeer(RibbonToggleButton owner): base(owner) 47string accessKey = ((RibbonToggleButton)Owner).KeyTip; 72name = ((RibbonToggleButton)Owner).Label; 86RibbonToolTip toolTip = ((RibbonToggleButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (3)
29[TemplatePart(Name = RibbonApplicationMenu.PopupToggleButtonTemplateName, Type = typeof(RibbonToggleButton))] 48private RibbonToggleButton _popupToggleButton; 302_popupToggleButton = this.GetTemplateChild(PopupToggleButtonTemplateName) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (5)
49RibbonToggleButton filterToggleButton = this.Template.FindName(RibbonMenuButton.ToggleButtonTemplatePartName, this) as RibbonToggleButton; 61RibbonToggleButton filterToggleButton = (RibbonToggleButton)sender; 80filterToggleButton.SetBinding(RibbonToggleButton.ContentProperty, currentFilterBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
40[TemplatePart(Name = RibbonGroup.CollapsedDropDownButtonTemplatePartName, Type = typeof(RibbonToggleButton))]
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
37[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 696_partToggleButton = GetTemplateChild(ToggleButtonTemplatePartName) as RibbonToggleButton; 1328private RibbonToggleButton _partToggleButton; 1385internal RibbonToggleButton PartToggleButton
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (3)
37[TemplatePart(Name = OverflowButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 50private RibbonToggleButton _overflowButton; // The ToggleButton that hosts the overflow panel popup. 307_overflowButton = GetTemplateChild(OverflowButtonTemplatePartName) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (5)
31[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 73_toggleButton = GetTemplateChild(RibbonSplitButton.ToggleButtonTemplatePartName) as RibbonToggleButton; 504private RibbonToggleButton _toggleButton; 531RibbonToggleButton toggleButton = _headerButton as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (6)
24[TemplatePart(Name = RibbonSplitMenuItem.ArrowButtonTemplatePart, Type = typeof(RibbonToggleButton))] 173_partArrowButton = GetTemplateChild(ArrowButtonTemplatePart) as RibbonToggleButton; 203RibbonToggleButton toggleButton = splitMenuItem._headerButton as RibbonToggleButton; 333internal RibbonToggleButton ArrowToggleButton 356RibbonToggleButton _partArrowButton;
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (33)
31[TemplatePart(Name = RibbonToggleButton.ImageTemplatePart, Type = typeof(Image))] 43Type ownerType = typeof(RibbonToggleButton); 83RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(RibbonToggleButton)); 98RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(RibbonToggleButton)); 113RibbonControlService.LabelProperty.AddOwner(typeof(RibbonToggleButton)); 128RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 143RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 158RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 173RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 188RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 203RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 218RibbonControlService.CornerRadiusProperty.AddOwner(typeof(RibbonToggleButton)); 237RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonToggleButton)); 252RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(RibbonToggleButton)); 267RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonToggleButton)); 282RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonToggleButton)); 315RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonToggleButton)); 329RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonToggleButton)); 344RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonToggleButton)); 359RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton)); 374RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(RibbonToggleButton)); 389RibbonControlService.CheckedBackgroundProperty.AddOwner(typeof(RibbonToggleButton)); 404RibbonControlService.CheckedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton)); 420RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonToggleButton)); 435RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton)); 476RibbonToggleButton button = (RibbonToggleButton)d; 495RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonToggleButton)); 551RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonToggleButton)); 566RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonToggleButton), 599KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonToggleButton)); 612((RibbonToggleButton)sender).OnActivatingKeyTip(e); 625((RibbonToggleButton)sender).OnKeyTipAccessed(e);