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