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