2 instantiations of RibbonButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1910
return new
RibbonButton
();
1927
return new
RibbonButton
();
38 references to RibbonButton
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (4)
33
public RibbonButtonAutomationPeer(
RibbonButton
owner): base(owner)
46
string accessKey = ((
RibbonButton
)Owner).KeyTip;
70
name = ((
RibbonButton
)Owner).Label;
84
RibbonToolTip toolTip = ((
RibbonButton
)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (31)
30
[TemplatePart(Name =
RibbonButton
.ImageTemplatePart, Type = typeof(Image))]
41
Type ownerType = typeof(
RibbonButton
);
75
RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(
RibbonButton
));
90
RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(
RibbonButton
));
105
RibbonControlService.LabelProperty.AddOwner(typeof(
RibbonButton
));
120
RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
135
RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
150
RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
165
RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
180
RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
195
RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
210
RibbonControlService.CornerRadiusProperty.AddOwner(typeof(
RibbonButton
));
229
RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(
RibbonButton
));
244
RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(
RibbonButton
));
259
RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(
RibbonButton
));
274
RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(
RibbonButton
));
305
RibbonControlService.RibbonProperty.AddOwner(typeof(
RibbonButton
));
319
RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
334
RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(
RibbonButton
));
349
RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
364
RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(
RibbonButton
));
379
RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(
RibbonButton
));
394
RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
435
RibbonButton
button = (
RibbonButton
)d;
454
RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(
RibbonButton
));
511
RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(
RibbonButton
));
526
RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(
RibbonButton
),
547
KeyTipService.KeyTipProperty.AddOwner(typeof(
RibbonButton
));
568
((
RibbonButton
)sender).OnActivatingKeyTip(e);
581
((
RibbonButton
)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
514
RibbonButton
button = _headerButton as
RibbonButton
;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
24
[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(
RibbonButton
))]