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