817 references to RibbonControlService
System.Windows.Controls.Ribbon (817)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
107
Ribbon.Ribbon ribbon =
RibbonControlService
.GetRibbon(PlacementTarget);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
201
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonContextualTabGroupsPanel));
208
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
155
RibbonControlSizeDefinition controlDef =
RibbonControlService
.GetControlSizeDefinition(child);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (2)
320
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonTabHeadersPanel));
327
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (2)
32
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonTitlePanel));
39
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (16)
100
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
131
RibbonControlService
.SetRibbon(this, this);
771
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
2455
RibbonControlService
.GetQuickAccessToolBarId(obj) != null &&
2474
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2487
while (obj != null && !
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(obj))
2501
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2515
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2530
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2544
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2559
args.CanExecute =
RibbonControlService
.GetIsInQuickAccessToolBar(obj);
2568
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2588
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2603
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2618
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
2633
Ribbon ribbon =
RibbonControlService
.GetRibbon(originalSource);
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (3)
82
RibbonControlService
.IsInControlGroupPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse)));
83
RibbonControlService
.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse)));
84
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse)));
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (71)
64
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
76
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonButton));
83
get { return
RibbonControlService
.GetLargeImageSource(this); }
84
set {
RibbonControlService
.SetLargeImageSource(this, value); }
91
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonButton));
98
get { return
RibbonControlService
.GetSmallImageSource(this); }
99
set {
RibbonControlService
.SetSmallImageSource(this, value); }
106
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonButton));
113
get { return
RibbonControlService
.GetLabel(this); }
114
set {
RibbonControlService
.SetLabel(this, value); }
121
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
128
get { return
RibbonControlService
.GetToolTipTitle(this); }
129
set {
RibbonControlService
.SetToolTipTitle(this, value); }
136
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
143
get { return
RibbonControlService
.GetToolTipDescription(this); }
144
set {
RibbonControlService
.SetToolTipDescription(this, value); }
151
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
158
get { return
RibbonControlService
.GetToolTipImageSource(this); }
159
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
166
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
173
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
174
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
181
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
188
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
189
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
196
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
203
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
204
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
211
RibbonControlService
.CornerRadiusProperty.AddOwner(typeof(RibbonButton));
218
get { return
RibbonControlService
.GetCornerRadius(this); }
219
set {
RibbonControlService
.SetCornerRadius(this, value); }
230
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton));
237
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
238
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
245
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonButton));
252
get { return
RibbonControlService
.GetIsInControlGroup(this); }
253
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
260
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonButton));
267
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
268
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
275
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonButton));
282
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
283
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
306
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonButton));
313
get { return
RibbonControlService
.GetRibbon(this); }
320
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonButton));
327
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
328
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
335
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonButton));
342
get { return
RibbonControlService
.GetMouseOverBackground(this); }
343
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
350
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonButton));
357
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
358
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
365
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonButton));
372
get { return
RibbonControlService
.GetPressedBackground(this); }
373
set {
RibbonControlService
.SetPressedBackground(this, value); }
380
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonButton));
387
get { return
RibbonControlService
.GetFocusedBackground(this); }
388
set {
RibbonControlService
.SetFocusedBackground(this, value); }
395
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonButton));
402
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
403
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
455
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonButton));
462
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
512
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonButton));
519
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
520
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
527
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonButton),
536
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
537
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (74)
64
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
76
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonCheckBox));
83
get { return
RibbonControlService
.GetLargeImageSource(this); }
84
set {
RibbonControlService
.SetLargeImageSource(this, value); }
91
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonCheckBox));
98
get { return
RibbonControlService
.GetSmallImageSource(this); }
99
set {
RibbonControlService
.SetSmallImageSource(this, value); }
106
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonCheckBox));
113
get { return
RibbonControlService
.GetLabel(this); }
114
set {
RibbonControlService
.SetLabel(this, value); }
121
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
128
get { return
RibbonControlService
.GetToolTipTitle(this); }
129
set {
RibbonControlService
.SetToolTipTitle(this, value); }
136
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
143
get { return
RibbonControlService
.GetToolTipDescription(this); }
144
set {
RibbonControlService
.SetToolTipDescription(this, value); }
151
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
158
get { return
RibbonControlService
.GetToolTipImageSource(this); }
159
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
166
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
173
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
174
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
181
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
188
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
189
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
196
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
203
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
204
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
215
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonCheckBox));
222
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
223
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
230
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonCheckBox));
237
get { return
RibbonControlService
.GetIsInControlGroup(this); }
238
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
245
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonCheckBox));
252
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
253
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
260
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonCheckBox));
267
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
268
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
293
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonCheckBox));
300
get { return
RibbonControlService
.GetRibbon(this); }
307
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonCheckBox));
314
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
315
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
322
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonCheckBox));
329
get { return
RibbonControlService
.GetMouseOverBackground(this); }
330
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
337
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonCheckBox));
344
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
345
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
352
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonCheckBox));
359
get { return
RibbonControlService
.GetPressedBackground(this); }
360
set {
RibbonControlService
.SetPressedBackground(this, value); }
367
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonCheckBox));
374
get { return
RibbonControlService
.GetCheckedBackground(this); }
375
set {
RibbonControlService
.SetCheckedBackground(this, value); }
382
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonCheckBox));
389
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
390
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
397
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonCheckBox));
404
get { return
RibbonControlService
.GetFocusedBackground(this); }
405
set {
RibbonControlService
.SetFocusedBackground(this, value); }
412
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonCheckBox));
419
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
420
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
472
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonCheckBox));
479
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
528
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonCheckBox));
535
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
536
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
543
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonCheckBox),
552
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
553
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
153
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonComboBox));
160
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (18)
44
RibbonControlService
.IsInQuickAccessToolBarPropertyKey);
48
RibbonControlService
.IsInControlGroupPropertyKey);
53
RibbonControlService
.RibbonPropertyKey.OverrideMetadata(ownerType,
65
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonContentPresenter));
72
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
73
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
80
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonContentPresenter));
87
get { return
RibbonControlService
.GetIsInControlGroup(this); }
88
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
95
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonContentPresenter));
102
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
103
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
128
_templateRoot.ClearValue(
RibbonControlService
.RibbonPropertyKey);
176
RibbonControlService
.SetRibbon(_templateRoot,
RibbonControlService
.GetRibbon(this));
192
get { return (_templateRoot != null) ? (
RibbonControlService
.GetLargeImageSource(_templateRoot) != null) : false; }
197
get { return (_templateRoot != null) ? (
RibbonControlService
.GetSmallImageSource(_templateRoot) != null) : false; }
202
get { return (_templateRoot != null) ? !string.IsNullOrEmpty(
RibbonControlService
.GetLabel(_templateRoot)) : false; }
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (8)
78
RibbonControlService
.GetRibbon(dismissPopupSource) == null)
106
((Ribbon)(
RibbonControlService
.GetRibbon(dismissPopupSource))).RestoreFocusOnContextMenuClose();
133
Ribbon ribbon =
RibbonControlService
.GetRibbon(current);
188
Ribbon ribbon =
RibbonControlService
.GetRibbon(placementTarget);
254
else if (
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(owner))
262
if (
RibbonControlService
.GetIsInQuickAccessToolBar(owner))
412
Ribbon ribbon =
RibbonControlService
.GetRibbon(d);
450
path.PathParameters.Add(
RibbonControlService
.RibbonProperty);
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (2)
185
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonContextualTabGroup));
192
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
52
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonContextualTabGroupItemsControl));
59
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (11)
53
RibbonControlService
.IsInQuickAccessToolBarPropertyKey);
57
RibbonControlService
.IsInControlGroupPropertyKey);
81
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonControl));
88
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
89
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
96
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonControl));
103
get { return
RibbonControlService
.GetIsInControlGroup(this); }
104
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
111
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonControl));
118
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
119
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (9)
45
RibbonControlService
.DefaultControlSizeDefinitionProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceDefaultControlSizeDefinition)));
66
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonControlGroup), new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged));
73
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
74
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
115
RibbonControlSizeDefinition currentLargeCsd =
RibbonControlService
.GetDefaultControlSizeDefinition(contentChild);
118
contentChild.CoerceValue(
RibbonControlService
.DefaultControlSizeDefinitionProperty);
119
currentLargeCsd =
RibbonControlService
.GetDefaultControlSizeDefinition(contentChild);
190
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonControlGroup));
197
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (34)
38
DependencyProperty.RegisterAttached("LargeImageSource", typeof(ImageSource), typeof(
RibbonControlService
),
69
DependencyProperty.RegisterAttached("SmallImageSource", typeof(ImageSource), typeof(
RibbonControlService
),
104
DependencyProperty.RegisterAttached("Label", typeof(string), typeof(
RibbonControlService
),
139
DependencyProperty.RegisterAttached("ToolTipTitle", typeof(string), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
164
DependencyProperty.RegisterAttached("ToolTipDescription", typeof(string), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
189
DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(ImageSource), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
214
DependencyProperty.RegisterAttached("ToolTipFooterTitle", typeof(string), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
239
DependencyProperty.RegisterAttached("ToolTipFooterDescription", typeof(string), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
264
DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(ImageSource), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(null));
297
typeof(
RibbonControlService
),
330
typeof(
RibbonControlService
),
358
typeof(
RibbonControlService
),
386
typeof(
RibbonControlService
),
414
typeof(
RibbonControlService
),
442
typeof(
RibbonControlService
),
470
typeof(
RibbonControlService
),
498
typeof(
RibbonControlService
),
526
typeof(
RibbonControlService
),
554
typeof(
RibbonControlService
),
590
typeof(
RibbonControlService
),
634
RibbonControlSizeDefinition defaultControlSizeDefinition =
RibbonControlService
.GetDefaultControlSizeDefinition(d);
638
defaultControlSizeDefinition =
RibbonControlService
.GetDefaultControlSizeDefinition(d);
659
DependencyProperty.RegisterAttached("DefaultControlSizeDefinition", typeof(RibbonControlSizeDefinition), typeof(
RibbonControlService
),
685
if (
RibbonControlService
.GetLargeImageSource(d) != null)
689
else if (
RibbonControlService
.GetSmallImageSource(d) != null)
693
bool isLabelVisible = !string.IsNullOrEmpty(
RibbonControlService
.GetLabel(d));
706
if (
RibbonControlService
.GetIsInControlGroup(d))
731
typeof(
RibbonControlService
),
769
typeof(
RibbonControlService
),
792
typeof(
RibbonControlService
),
823
typeof(
RibbonControlService
),
852
typeof(
RibbonControlService
),
896
DependencyProperty.RegisterAttachedReadOnly("ShowKeyboardCues", typeof(bool), typeof(
RibbonControlService
), new FrameworkPropertyMetadata(false));
904
public static readonly RoutedEvent DismissPopupEvent = EventManager.RegisterRoutedEvent("DismissPopup", RoutingStrategy.Bubble, typeof(RibbonDismissPopupEventHandler), typeof(
RibbonControlService
));
Microsoft\Windows\Controls\Ribbon\RibbonDismissPopupEventArgs.cs (1)
30
RoutedEvent =
RibbonControlService
.DismissPopupEvent;
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
38
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (31)
73
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
123
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
2972
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonGallery));
2979
get { return
RibbonControlService
.GetSmallImageSource(this); }
2980
set {
RibbonControlService
.SetSmallImageSource(this, value); }
2987
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
2994
get { return
RibbonControlService
.GetToolTipTitle(this); }
2995
set {
RibbonControlService
.SetToolTipTitle(this, value); }
3002
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
3009
get { return
RibbonControlService
.GetToolTipDescription(this); }
3010
set {
RibbonControlService
.SetToolTipDescription(this, value); }
3017
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
3024
get { return
RibbonControlService
.GetToolTipImageSource(this); }
3025
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
3032
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
3039
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
3040
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
3047
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
3054
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
3055
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
3062
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
3069
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
3070
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
3077
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonGallery));
3084
get { return
RibbonControlService
.GetRibbon(this); }
3172
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonGallery));
3179
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
3180
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
3187
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonGallery),
3196
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
3197
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (38)
511
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonGalleryItem));
518
get { return
RibbonControlService
.GetRibbon(this); }
525
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonGalleryItem));
532
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
533
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
540
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonGalleryItem));
547
get { return
RibbonControlService
.GetMouseOverBackground(this); }
548
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
555
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonGalleryItem));
562
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
563
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
570
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonGalleryItem));
577
get { return
RibbonControlService
.GetPressedBackground(this); }
578
set {
RibbonControlService
.SetPressedBackground(this, value); }
585
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonGalleryItem));
592
get { return
RibbonControlService
.GetCheckedBackground(this); }
593
set {
RibbonControlService
.SetCheckedBackground(this, value); }
600
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonGalleryItem));
607
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
608
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
619
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
626
get { return
RibbonControlService
.GetToolTipTitle(this); }
627
set {
RibbonControlService
.SetToolTipTitle(this, value); }
634
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
641
get { return
RibbonControlService
.GetToolTipDescription(this); }
642
set {
RibbonControlService
.SetToolTipDescription(this, value); }
649
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
656
get { return
RibbonControlService
.GetToolTipImageSource(this); }
657
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
664
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
671
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
672
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
679
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
686
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
687
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
694
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
701
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
702
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (52)
64
RibbonControlService
.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsInQuickAccessToolBarChanged)));
76
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
164
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
291
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonGroup));
298
get { return
RibbonControlService
.GetSmallImageSource(this); }
299
set {
RibbonControlService
.SetSmallImageSource(this, value); }
306
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonGroup));
313
get { return
RibbonControlService
.GetLargeImageSource(this); }
314
set {
RibbonControlService
.SetLargeImageSource(this, value); }
321
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
328
get { return
RibbonControlService
.GetToolTipTitle(this); }
329
set {
RibbonControlService
.SetToolTipTitle(this, value); }
336
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
343
get { return
RibbonControlService
.GetToolTipDescription(this); }
344
set {
RibbonControlService
.SetToolTipDescription(this, value); }
351
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
358
get { return
RibbonControlService
.GetToolTipImageSource(this); }
359
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
366
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
373
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
374
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
381
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
388
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
389
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
396
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
403
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
404
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
415
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonGroup));
422
get { return
RibbonControlService
.GetRibbon(this); }
429
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonGroup));
436
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
437
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
444
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonGroup));
451
get { return
RibbonControlService
.GetMouseOverBackground(this); }
452
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
459
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonGroup));
466
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
467
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
754
element.ClearValue(
RibbonControlService
.ControlSizeDefinitionProperty);
867
controlSizeDefinition =
RibbonControlService
.GetDefaultControlSizeDefinition(contentChild);
870
contentChild.CoerceValue(
RibbonControlService
.DefaultControlSizeDefinitionProperty);
871
controlSizeDefinition =
RibbonControlService
.GetDefaultControlSizeDefinition(contentChild);
1092
RibbonControlService
.SetControlSizeDefinition(element, controlSizeDefinition);
1096
element.ClearValue(
RibbonControlService
.ControlSizeDefinitionProperty);
1225
RibbonControlService
.SetControlSizeDefinition(d, def);
1229
d.ClearValue(
RibbonControlService
.ControlSizeDefinitionProperty);
1517
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonGroup));
1524
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
1525
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
1532
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonGroup),
1541
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
1542
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (60)
54
string toolTipTitle =
RibbonControlService
.GetToolTipTitle(d);
55
string toolTipDescription =
RibbonControlService
.GetToolTipDescription(d);
56
ImageSource toolTipImageSource =
RibbonControlService
.GetToolTipImageSource(d);
57
string toolTipFooterTitle =
RibbonControlService
.GetToolTipFooterTitle(d);
58
string toolTipFooterDescription =
RibbonControlService
.GetToolTipFooterDescription(d);
59
ImageSource toolTipFooterImageSource =
RibbonControlService
.GetToolTipFooterImageSource(d);
421
if (
RibbonControlService
.GetIsInQuickAccessToolBar(parent))
423
RibbonControlService
.SetIsInQuickAccessToolBar(child, true);
425
RibbonControlSizeDefinition qatControlSizeDefinition =
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(child);
426
RibbonControlService
.SetControlSizeDefinition(child, qatControlSizeDefinition);
430
if (
RibbonControlService
.GetIsInControlGroup(parent))
432
RibbonControlService
.SetIsInControlGroup(child, true);
435
RibbonControlSizeDefinition controlSizeDefinition =
RibbonControlService
.GetControlSizeDefinition(parent);
438
RibbonControlService
.SetControlSizeDefinition(child, controlSizeDefinition);
447
child.ClearValue(
RibbonControlService
.IsInQuickAccessToolBarPropertyKey);
448
child.ClearValue(
RibbonControlService
.IsInControlGroupPropertyKey);
449
child.ClearValue(
RibbonControlService
.ControlSizeDefinitionProperty);
461
RibbonControlService
.SetShowKeyboardCues(d, true);
467
RibbonControlService
.SetShowKeyboardCues(d, false);
1461
d.CoerceValue(
RibbonControlService
.QuickAccessToolBarIdProperty);
1488
DependencyProperty dp =
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty;
1510
PropertyHelper.TransferProperty(d,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
1521
Ribbon ribbon = (Ribbon)element.GetValue(
RibbonControlService
.RibbonProperty);
1522
object qatID =
RibbonControlService
.GetQuickAccessToolBarId(element);
1710
new PropertyAndTransferMode () { Property =
RibbonControlService
.LabelProperty, Mode = TransferMode.AlwaysTransfer },
1711
new PropertyAndTransferMode () { Property =
RibbonControlService
.SmallImageSourceProperty, Mode = TransferMode.AlwaysTransfer },
1712
new PropertyAndTransferMode () { Property =
RibbonControlService
.LargeImageSourceProperty, Mode = TransferMode.AlwaysTransfer },
1713
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipTitleProperty, Mode = TransferMode.AlwaysTransfer },
1714
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipDescriptionProperty, Mode = TransferMode.AlwaysTransfer },
1715
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipImageSourceProperty, Mode = TransferMode.AlwaysTransfer },
1716
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipFooterTitleProperty, Mode = TransferMode.AlwaysTransfer },
1717
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipFooterDescriptionProperty, Mode = TransferMode.AlwaysTransfer },
1718
new PropertyAndTransferMode () { Property =
RibbonControlService
.ToolTipFooterImageSourceProperty, Mode = TransferMode.AlwaysTransfer },
1719
new PropertyAndTransferMode () { Property =
RibbonControlService
.QuickAccessToolBarIdProperty, Mode = TransferMode.AlwaysTransfer },
1720
new PropertyAndTransferMode () { Property =
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty, Mode = TransferMode.AlwaysTransfer },
1721
new PropertyAndTransferMode () { Property =
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty, Mode = TransferMode.AlwaysTransfer },
1726
new PropertyAndTransferMode () { Property =
RibbonControlService
.MouseOverBackgroundProperty, Mode = TransferMode.AlwaysTransfer },
1727
new PropertyAndTransferMode () { Property =
RibbonControlService
.MouseOverBorderBrushProperty, Mode = TransferMode.AlwaysTransfer },
1728
new PropertyAndTransferMode () { Property =
RibbonControlService
.PressedBackgroundProperty, Mode = TransferMode.AlwaysTransfer },
1729
new PropertyAndTransferMode () { Property =
RibbonControlService
.PressedBorderBrushProperty, Mode = TransferMode.AlwaysTransfer },
1730
new PropertyAndTransferMode () { Property =
RibbonControlService
.FocusedBackgroundProperty, Mode = TransferMode.AlwaysTransfer },
1731
new PropertyAndTransferMode () { Property =
RibbonControlService
.FocusedBorderBrushProperty, Mode = TransferMode.AlwaysTransfer },
1732
new PropertyAndTransferMode () { Property =
RibbonControlService
.CheckedBackgroundProperty, Mode = TransferMode.AlwaysTransfer },
1733
new PropertyAndTransferMode () { Property =
RibbonControlService
.CheckedBorderBrushProperty, Mode = TransferMode.AlwaysTransfer },
1734
new PropertyAndTransferMode () { Property =
RibbonControlService
.CornerRadiusProperty, Mode = TransferMode.AlwaysTransfer },
2141
TransferProperty(original, clone, RibbonSplitButton.HeaderQuickAccessToolBarIdProperty,
RibbonControlService
.QuickAccessToolBarIdProperty, TransferMode.AlwaysTransfer);
2152
TransferProperty(original, clone, RibbonMenuItem.HeaderProperty,
RibbonControlService
.LabelProperty, TransferMode.AlwaysTransfer);
2155
TransferProperty(original, clone, RibbonMenuItem.QuickAccessToolBarImageSourceProperty,
RibbonControlService
.SmallImageSourceProperty, TransferMode.AlwaysTransfer);
2157
TransferProperty(original, clone,
RibbonControlService
.ToolTipTitleProperty, TransferMode.AlwaysTransfer);
2158
TransferProperty(original, clone,
RibbonControlService
.ToolTipDescriptionProperty, TransferMode.AlwaysTransfer);
2159
TransferProperty(original, clone,
RibbonControlService
.ToolTipImageSourceProperty, TransferMode.AlwaysTransfer);
2160
TransferProperty(original, clone,
RibbonControlService
.ToolTipFooterTitleProperty, TransferMode.AlwaysTransfer);
2161
TransferProperty(original, clone,
RibbonControlService
.ToolTipFooterDescriptionProperty, TransferMode.AlwaysTransfer);
2162
TransferProperty(original, clone,
RibbonControlService
.ToolTipFooterImageSourceProperty, TransferMode.AlwaysTransfer);
2163
TransferProperty(original, clone,
RibbonControlService
.QuickAccessToolBarIdProperty, TransferMode.AlwaysTransfer);
2178
TransferProperty(original, clone, RibbonSplitMenuItem.HeaderQuickAccessToolBarIdProperty,
RibbonControlService
.QuickAccessToolBarIdProperty, TransferMode.AlwaysTransfer);
2617
if (
RibbonControlService
.GetIsInQuickAccessToolBar(element))
2626
RibbonControlSizeDefinition controlSizeDefinition =
RibbonControlService
.GetControlSizeDefinition(element);
2664
if (
RibbonControlService
.GetIsInQuickAccessToolBar(element))
2673
RibbonControlSizeDefinition controlSizeDefinition =
RibbonControlService
.GetControlSizeDefinition(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (70)
65
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
72
IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnPseudoInheritedPropertyChanged),
RibbonControlService
.IsInControlGroupPropertyKey);
95
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonMenuButton));
102
get { return
RibbonControlService
.GetLargeImageSource(this); }
103
set {
RibbonControlService
.SetLargeImageSource(this, value); }
110
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonMenuButton));
117
get { return
RibbonControlService
.GetSmallImageSource(this); }
118
set {
RibbonControlService
.SetSmallImageSource(this, value); }
125
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonMenuButton));
132
get { return
RibbonControlService
.GetLabel(this); }
133
set {
RibbonControlService
.SetLabel(this, value); }
140
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
147
get { return
RibbonControlService
.GetToolTipTitle(this); }
148
set {
RibbonControlService
.SetToolTipTitle(this, value); }
155
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
162
get { return
RibbonControlService
.GetToolTipDescription(this); }
163
set {
RibbonControlService
.SetToolTipDescription(this, value); }
170
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
177
get { return
RibbonControlService
.GetToolTipImageSource(this); }
178
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
185
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
192
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
193
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
200
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
207
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
208
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
215
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
222
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
223
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
234
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonMenuButton));
241
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
242
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
249
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonMenuButton));
256
get { return
RibbonControlService
.GetIsInControlGroup(this); }
257
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
264
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonMenuButton));
271
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
272
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
279
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonMenuButton));
286
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
287
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
298
if (_partToggleButton != null &&
RibbonControlService
.GetIsInControlGroup(this))
300
RibbonControlService
.SetIsInControlGroup(_partToggleButton, true);
312
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonMenuButton));
319
get { return
RibbonControlService
.GetRibbon(this); }
326
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonMenuButton));
333
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
334
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
341
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonMenuButton));
348
get { return
RibbonControlService
.GetMouseOverBackground(this); }
349
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
356
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonMenuButton));
363
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
364
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
371
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonMenuButton));
378
get { return
RibbonControlService
.GetPressedBackground(this); }
379
set {
RibbonControlService
.SetPressedBackground(this, value); }
386
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonMenuButton));
393
get { return
RibbonControlService
.GetFocusedBackground(this); }
394
set {
RibbonControlService
.SetFocusedBackground(this, value); }
401
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonMenuButton));
408
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
409
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
703
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
1612
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonMenuButton));
1619
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
1620
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
1627
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonMenuButton),
1636
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
1637
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (46)
69
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
84
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
91
get { return
RibbonControlService
.GetToolTipTitle(this); }
92
set {
RibbonControlService
.SetToolTipTitle(this, value); }
99
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
106
get { return
RibbonControlService
.GetToolTipDescription(this); }
107
set {
RibbonControlService
.SetToolTipDescription(this, value); }
114
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
121
get { return
RibbonControlService
.GetToolTipImageSource(this); }
122
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
129
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
136
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
137
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
144
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
151
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
152
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
159
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
166
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
167
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
386
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonMenuItem));
393
get { return
RibbonControlService
.GetRibbon(this); }
400
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonMenuItem));
407
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
408
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
415
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonMenuItem));
422
get { return
RibbonControlService
.GetMouseOverBackground(this); }
423
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
430
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonMenuItem));
437
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
438
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
445
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonMenuItem));
452
get { return
RibbonControlService
.GetPressedBackground(this); }
453
set {
RibbonControlService
.SetPressedBackground(this, value); }
460
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonMenuItem));
467
get { return
RibbonControlService
.GetCheckedBackground(this); }
468
set {
RibbonControlService
.SetCheckedBackground(this, value); }
475
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonMenuItem));
482
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
483
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
654
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
1718
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonMenuItem));
1725
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
1726
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
1733
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonMenuItem),
1742
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
1743
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (4)
114
EventManager.RegisterClassHandler(ownerType,
RibbonControlService
.DismissPopupEvent, new RibbonDismissPopupEventHandler(OnDismissPopupThunk));
130
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonQuickAccessToolBar));
137
get { return
RibbonControlService
.GetRibbon(this); }
526
object currentID =
RibbonControlService
.GetQuickAccessToolBarId(dependencyObject);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (77)
64
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
76
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonRadioButton));
83
get { return
RibbonControlService
.GetLargeImageSource(this); }
84
set {
RibbonControlService
.SetLargeImageSource(this, value); }
91
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonRadioButton));
98
get { return
RibbonControlService
.GetSmallImageSource(this); }
99
set {
RibbonControlService
.SetSmallImageSource(this, value); }
106
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonRadioButton));
113
get { return
RibbonControlService
.GetLabel(this); }
114
set {
RibbonControlService
.SetLabel(this, value); }
121
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
128
get { return
RibbonControlService
.GetToolTipTitle(this); }
129
set {
RibbonControlService
.SetToolTipTitle(this, value); }
136
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
143
get { return
RibbonControlService
.GetToolTipDescription(this); }
144
set {
RibbonControlService
.SetToolTipDescription(this, value); }
151
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
158
get { return
RibbonControlService
.GetToolTipImageSource(this); }
159
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
166
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
173
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
174
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
181
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
188
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
189
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
196
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
203
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
204
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
211
RibbonControlService
.CornerRadiusProperty.AddOwner(typeof(RibbonRadioButton));
218
get { return
RibbonControlService
.GetCornerRadius(this); }
219
set {
RibbonControlService
.SetCornerRadius(this, value); }
230
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonRadioButton));
237
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
238
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
245
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonRadioButton));
252
get { return
RibbonControlService
.GetIsInControlGroup(this); }
253
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
260
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonRadioButton));
267
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
268
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
275
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonRadioButton));
282
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
283
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
308
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonRadioButton));
315
get { return
RibbonControlService
.GetRibbon(this); }
322
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonRadioButton));
329
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
330
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
337
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonRadioButton));
344
get { return
RibbonControlService
.GetMouseOverBackground(this); }
345
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
352
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonRadioButton));
359
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
360
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
367
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonRadioButton));
374
get { return
RibbonControlService
.GetPressedBackground(this); }
375
set {
RibbonControlService
.SetPressedBackground(this, value); }
382
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonRadioButton));
389
get { return
RibbonControlService
.GetCheckedBackground(this); }
390
set {
RibbonControlService
.SetCheckedBackground(this, value); }
397
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonRadioButton));
404
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
405
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
413
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonRadioButton));
420
get { return
RibbonControlService
.GetFocusedBackground(this); }
421
set {
RibbonControlService
.SetFocusedBackground(this, value); }
428
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonRadioButton));
435
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
436
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
488
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonRadioButton));
495
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
544
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonRadioButton));
551
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
552
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
559
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonRadioButton),
568
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
569
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (5)
48
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonSeparator));
55
get { return
RibbonControlService
.GetLabel(this); }
56
set {
RibbonControlService
.SetLabel(this, value); }
67
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonSeparator));
74
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (8)
45
IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnBorderThicknessChanged)),
RibbonControlService
.IsInControlGroupPropertyKey);
71
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
89
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonSplitButton));
96
get { return
RibbonControlService
.GetCheckedBackground(this); }
97
set {
RibbonControlService
.SetCheckedBackground(this, value); }
104
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonSplitButton));
111
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
112
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
154
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonTab));
161
get { return
RibbonControlService
.GetRibbon(this); }
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (20)
106
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonTabHeader));
113
get { return
RibbonControlService
.GetRibbon(this); }
175
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonTabHeader));
182
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
183
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
190
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonTabHeader));
197
get { return
RibbonControlService
.GetMouseOverBackground(this); }
198
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
205
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonTabHeader));
212
get { return
RibbonControlService
.GetFocusedBackground(this); }
213
set {
RibbonControlService
.SetFocusedBackground(this, value); }
220
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader));
227
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
228
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
235
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonTabHeader));
242
get { return
RibbonControlService
.GetCheckedBackground(this); }
243
set {
RibbonControlService
.SetCheckedBackground(this, value); }
250
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader));
257
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
258
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
172
Ribbon ribbon =
RibbonControlService
.GetRibbon(this);
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (62)
68
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
271
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonTextBox));
278
get { return
RibbonControlService
.GetLargeImageSource(this); }
279
set {
RibbonControlService
.SetLargeImageSource(this, value); }
286
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonTextBox));
293
get { return
RibbonControlService
.GetSmallImageSource(this); }
294
set {
RibbonControlService
.SetSmallImageSource(this, value); }
301
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonTextBox));
308
get { return
RibbonControlService
.GetLabel(this); }
309
set {
RibbonControlService
.SetLabel(this, value); }
316
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
323
get { return
RibbonControlService
.GetToolTipTitle(this); }
324
set {
RibbonControlService
.SetToolTipTitle(this, value); }
331
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
338
get { return
RibbonControlService
.GetToolTipDescription(this); }
339
set {
RibbonControlService
.SetToolTipDescription(this, value); }
346
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
353
get { return
RibbonControlService
.GetToolTipImageSource(this); }
354
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
361
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
368
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
369
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
376
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
383
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
384
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
391
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
398
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
399
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
410
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonTextBox));
417
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
418
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
425
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonTextBox));
432
get { return
RibbonControlService
.GetIsInControlGroup(this); }
433
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
444
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonTextBox));
451
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
452
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
459
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonTextBox));
466
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
467
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
490
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonTextBox));
497
get { return
RibbonControlService
.GetRibbon(this); }
504
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonTextBox));
511
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
512
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
519
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonTextBox));
526
get { return
RibbonControlService
.GetMouseOverBackground(this); }
527
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
534
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonTextBox));
541
get { return
RibbonControlService
.GetFocusedBackground(this); }
542
set {
RibbonControlService
.SetFocusedBackground(this, value); }
549
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonTextBox));
556
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
557
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
564
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonTextBox));
571
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
633
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonTextBox));
640
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
641
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
648
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonTextBox),
657
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
658
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (77)
71
PropertyHelper.TransferProperty(this,
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty);
83
RibbonControlService
.LargeImageSourceProperty.AddOwner(typeof(RibbonToggleButton));
90
get { return
RibbonControlService
.GetLargeImageSource(this); }
91
set {
RibbonControlService
.SetLargeImageSource(this, value); }
98
RibbonControlService
.SmallImageSourceProperty.AddOwner(typeof(RibbonToggleButton));
105
get { return
RibbonControlService
.GetSmallImageSource(this); }
106
set {
RibbonControlService
.SetSmallImageSource(this, value); }
113
RibbonControlService
.LabelProperty.AddOwner(typeof(RibbonToggleButton));
120
get { return
RibbonControlService
.GetLabel(this); }
121
set {
RibbonControlService
.SetLabel(this, value); }
128
RibbonControlService
.ToolTipTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
135
get { return
RibbonControlService
.GetToolTipTitle(this); }
136
set {
RibbonControlService
.SetToolTipTitle(this, value); }
143
RibbonControlService
.ToolTipDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
150
get { return
RibbonControlService
.GetToolTipDescription(this); }
151
set {
RibbonControlService
.SetToolTipDescription(this, value); }
158
RibbonControlService
.ToolTipImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
165
get { return
RibbonControlService
.GetToolTipImageSource(this); }
166
set {
RibbonControlService
.SetToolTipImageSource(this, value); }
173
RibbonControlService
.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
180
get { return
RibbonControlService
.GetToolTipFooterTitle(this); }
181
set {
RibbonControlService
.SetToolTipFooterTitle(this, value); }
188
RibbonControlService
.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
195
get { return
RibbonControlService
.GetToolTipFooterDescription(this); }
196
set {
RibbonControlService
.SetToolTipFooterDescription(this, value); }
203
RibbonControlService
.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged)));
210
get { return
RibbonControlService
.GetToolTipFooterImageSource(this); }
211
set {
RibbonControlService
.SetToolTipFooterImageSource(this, value); }
218
RibbonControlService
.CornerRadiusProperty.AddOwner(typeof(RibbonToggleButton));
225
get { return
RibbonControlService
.GetCornerRadius(this); }
226
set {
RibbonControlService
.SetCornerRadius(this, value); }
237
RibbonControlService
.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonToggleButton));
244
get { return
RibbonControlService
.GetControlSizeDefinition(this); }
245
set {
RibbonControlService
.SetControlSizeDefinition(this, value); }
252
RibbonControlService
.IsInControlGroupProperty.AddOwner(typeof(RibbonToggleButton));
259
get { return
RibbonControlService
.GetIsInControlGroup(this); }
260
internal set {
RibbonControlService
.SetIsInControlGroup(this, value); }
267
RibbonControlService
.QuickAccessToolBarControlSizeDefinitionProperty.AddOwner(typeof(RibbonToggleButton));
274
get { return
RibbonControlService
.GetQuickAccessToolBarControlSizeDefinition(this); }
275
set {
RibbonControlService
.SetQuickAccessToolBarControlSizeDefinition(this, value); }
282
RibbonControlService
.IsInQuickAccessToolBarProperty.AddOwner(typeof(RibbonToggleButton));
289
get { return
RibbonControlService
.GetIsInQuickAccessToolBar(this); }
290
internal set {
RibbonControlService
.SetIsInQuickAccessToolBar(this, value); }
315
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonToggleButton));
322
get { return
RibbonControlService
.GetRibbon(this); }
329
RibbonControlService
.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonToggleButton));
336
get { return
RibbonControlService
.GetMouseOverBorderBrush(this); }
337
set {
RibbonControlService
.SetMouseOverBorderBrush(this, value); }
344
RibbonControlService
.MouseOverBackgroundProperty.AddOwner(typeof(RibbonToggleButton));
351
get { return
RibbonControlService
.GetMouseOverBackground(this); }
352
set {
RibbonControlService
.SetMouseOverBackground(this, value); }
359
RibbonControlService
.PressedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton));
366
get { return
RibbonControlService
.GetPressedBorderBrush(this); }
367
set {
RibbonControlService
.SetPressedBorderBrush(this, value); }
374
RibbonControlService
.PressedBackgroundProperty.AddOwner(typeof(RibbonToggleButton));
381
get { return
RibbonControlService
.GetPressedBackground(this); }
382
set {
RibbonControlService
.SetPressedBackground(this, value); }
389
RibbonControlService
.CheckedBackgroundProperty.AddOwner(typeof(RibbonToggleButton));
396
get { return
RibbonControlService
.GetCheckedBackground(this); }
397
set {
RibbonControlService
.SetCheckedBackground(this, value); }
404
RibbonControlService
.CheckedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton));
411
get { return
RibbonControlService
.GetCheckedBorderBrush(this); }
412
set {
RibbonControlService
.SetCheckedBorderBrush(this, value); }
420
RibbonControlService
.FocusedBackgroundProperty.AddOwner(typeof(RibbonToggleButton));
427
get { return
RibbonControlService
.GetFocusedBackground(this); }
428
set {
RibbonControlService
.SetFocusedBackground(this, value); }
435
RibbonControlService
.FocusedBorderBrushProperty.AddOwner(typeof(RibbonToggleButton));
442
get { return
RibbonControlService
.GetFocusedBorderBrush(this); }
443
set {
RibbonControlService
.SetFocusedBorderBrush(this, value); }
495
RibbonControlService
.ShowKeyboardCuesProperty.AddOwner(typeof(RibbonToggleButton));
502
get { return
RibbonControlService
.GetShowKeyboardCues(this); }
551
RibbonControlService
.QuickAccessToolBarIdProperty.AddOwner(typeof(RibbonToggleButton));
558
get { return
RibbonControlService
.GetQuickAccessToolBarId(this); }
559
set {
RibbonControlService
.SetQuickAccessToolBarId(this, value); }
566
RibbonControlService
.CanAddToQuickAccessToolBarDirectlyProperty.AddOwner(typeof(RibbonToggleButton),
575
get { return
RibbonControlService
.GetCanAddToQuickAccessToolBarDirectly(this); }
576
set {
RibbonControlService
.SetCanAddToQuickAccessToolBarDirectly(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (4)
61
RibbonControlService
.RibbonProperty.AddOwner(typeof(RibbonToolTip));
68
get { return
RibbonControlService
.GetRibbon(this); }
69
private set {
RibbonControlService
.SetRibbon(this, value); }
85
ribbonToolTip.Ribbon =
RibbonControlService
.GetRibbon(target);