1 instantiation of RibbonToggleButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1949
return new
RibbonToggleButton
();
64 references to RibbonToggleButton
System.Windows.Controls.Ribbon (64)
Microsoft\Windows\Automation\Peers\RibbonToggleButtonAutomationPeer.cs (4)
35
public RibbonToggleButtonAutomationPeer(
RibbonToggleButton
owner): base(owner)
48
string accessKey = ((
RibbonToggleButton
)Owner).KeyTip;
73
name = ((
RibbonToggleButton
)Owner).Label;
87
RibbonToolTip toolTip = ((
RibbonToggleButton
)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (3)
31
[TemplatePart(Name = RibbonApplicationMenu.PopupToggleButtonTemplateName, Type = typeof(
RibbonToggleButton
))]
50
private
RibbonToggleButton
_popupToggleButton;
304
_popupToggleButton = this.GetTemplateChild(PopupToggleButtonTemplateName) as
RibbonToggleButton
;
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (5)
51
RibbonToggleButton
filterToggleButton = this.Template.FindName(RibbonMenuButton.ToggleButtonTemplatePartName, this) as
RibbonToggleButton
;
63
RibbonToggleButton
filterToggleButton = (
RibbonToggleButton
)sender;
82
filterToggleButton.SetBinding(
RibbonToggleButton
.ContentProperty, currentFilterBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
43
[TemplatePart(Name = RibbonGroup.CollapsedDropDownButtonTemplatePartName, Type = typeof(
RibbonToggleButton
))]
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
40
[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(
RibbonToggleButton
))]
699
_partToggleButton = GetTemplateChild(ToggleButtonTemplatePartName) as
RibbonToggleButton
;
1331
private
RibbonToggleButton
_partToggleButton;
1388
internal
RibbonToggleButton
PartToggleButton
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (3)
42
[TemplatePart(Name = OverflowButtonTemplatePartName, Type = typeof(
RibbonToggleButton
))]
55
private
RibbonToggleButton
_overflowButton; // The ToggleButton that hosts the overflow panel popup.
312
_overflowButton = GetTemplateChild(OverflowButtonTemplatePartName) as
RibbonToggleButton
;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (5)
33
[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(
RibbonToggleButton
))]
75
_toggleButton = GetTemplateChild(RibbonSplitButton.ToggleButtonTemplatePartName) as
RibbonToggleButton
;
506
private
RibbonToggleButton
_toggleButton;
533
RibbonToggleButton
toggleButton = _headerButton as
RibbonToggleButton
;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (6)
27
[TemplatePart(Name = RibbonSplitMenuItem.ArrowButtonTemplatePart, Type = typeof(
RibbonToggleButton
))]
176
_partArrowButton = GetTemplateChild(ArrowButtonTemplatePart) as
RibbonToggleButton
;
206
RibbonToggleButton
toggleButton = splitMenuItem._headerButton as
RibbonToggleButton
;
334
internal
RibbonToggleButton
ArrowToggleButton
357
RibbonToggleButton
_partArrowButton;
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (33)
33
[TemplatePart(Name =
RibbonToggleButton
.ImageTemplatePart, Type = typeof(Image))]
45
Type ownerType = typeof(
RibbonToggleButton
);
85
RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(
RibbonToggleButton
));
100
RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(
RibbonToggleButton
));
115
RibbonControlService.LabelProperty.AddOwner(typeof(
RibbonToggleButton
));
130
RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
145
RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
160
RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
175
RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
190
RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
205
RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(
RibbonToggleButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
220
RibbonControlService.CornerRadiusProperty.AddOwner(typeof(
RibbonToggleButton
));
239
RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(
RibbonToggleButton
));
254
RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(
RibbonToggleButton
));
269
RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(
RibbonToggleButton
));
284
RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(
RibbonToggleButton
));
317
RibbonControlService.RibbonProperty.AddOwner(typeof(
RibbonToggleButton
));
331
RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(
RibbonToggleButton
));
346
RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(
RibbonToggleButton
));
361
RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(
RibbonToggleButton
));
376
RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(
RibbonToggleButton
));
391
RibbonControlService.CheckedBackgroundProperty.AddOwner(typeof(
RibbonToggleButton
));
406
RibbonControlService.CheckedBorderBrushProperty.AddOwner(typeof(
RibbonToggleButton
));
422
RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(
RibbonToggleButton
));
437
RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(
RibbonToggleButton
));
478
RibbonToggleButton
button = (
RibbonToggleButton
)d;
497
RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(
RibbonToggleButton
));
553
RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(
RibbonToggleButton
));
568
RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(
RibbonToggleButton
),
601
KeyTipService.KeyTipProperty.AddOwner(typeof(
RibbonToggleButton
));
614
((
RibbonToggleButton
)sender).OnActivatingKeyTip(e);
627
((
RibbonToggleButton
)sender).OnKeyTipAccessed(e);