2 instantiations of RibbonButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1935
return new
RibbonButton
();
1952
return new
RibbonButton
();
38 references to RibbonButton
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (4)
34
public RibbonButtonAutomationPeer(
RibbonButton
owner): base(owner)
47
string accessKey = ((
RibbonButton
)Owner).KeyTip;
71
name = ((
RibbonButton
)Owner).Label;
85
RibbonToolTip toolTip = ((
RibbonButton
)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (31)
31
[TemplatePart(Name =
RibbonButton
.ImageTemplatePart, Type = typeof(Image))]
42
Type ownerType = typeof(
RibbonButton
);
76
RibbonControlService.LargeImageSourceProperty.AddOwner(typeof(
RibbonButton
));
91
RibbonControlService.SmallImageSourceProperty.AddOwner(typeof(
RibbonButton
));
106
RibbonControlService.LabelProperty.AddOwner(typeof(
RibbonButton
));
121
RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
136
RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
151
RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
166
RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
181
RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
196
RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(
RibbonButton
), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
211
RibbonControlService.CornerRadiusProperty.AddOwner(typeof(
RibbonButton
));
230
RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(
RibbonButton
));
245
RibbonControlService.IsInControlGroupProperty.AddOwner(typeof(
RibbonButton
));
260
RibbonControlService.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(
RibbonButton
));
275
RibbonControlService.IsInQuickAccessToolBarProperty.AddOwner(typeof(
RibbonButton
));
306
RibbonControlService.RibbonProperty.AddOwner(typeof(
RibbonButton
));
320
RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
335
RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(
RibbonButton
));
350
RibbonControlService.PressedBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
365
RibbonControlService.PressedBackgroundProperty.AddOwner(typeof(
RibbonButton
));
380
RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(
RibbonButton
));
395
RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(
RibbonButton
));
436
RibbonButton
button = (
RibbonButton
)d;
455
RibbonControlService.ShowKeyboardCuesProperty.AddOwner(typeof(
RibbonButton
));
512
RibbonControlService.QuickAccessToolBarIdProperty.AddOwner(typeof(
RibbonButton
));
527
RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(
RibbonButton
),
548
KeyTipService.KeyTipProperty.AddOwner(typeof(
RibbonButton
));
569
((
RibbonButton
)sender).OnActivatingKeyTip(e);
582
((
RibbonButton
)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
524
RibbonButton
button = _headerButton as
RibbonButton
;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
25
[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(
RibbonButton
))]