14 instantiations of RibbonControlSizeDefinition
System.Windows.Controls.Ribbon (14)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (7)
140return new RibbonControlSizeDefinition(); 182_largeImageWithLabel = new RibbonControlSizeDefinition 199_smallImageWithLabel = new RibbonControlSizeDefinition 216_noImageWithLabel = new RibbonControlSizeDefinition 233_largeImageWithoutLabel = new RibbonControlSizeDefinition 250_smallImageWithoutLabel = new RibbonControlSizeDefinition 267_noImageWithoutLabel = new RibbonControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
541medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true }); 542medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true }); 543medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true }); 559medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true }); 560medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true }); 872controlSizeDefinition = new RibbonControlSizeDefinition(); 938RibbonControlSizeDefinition sameSize = new RibbonControlSizeDefinition()
69 references to RibbonControlSizeDefinition
System.Windows.Controls.Ribbon (69)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
154RibbonControlSizeDefinition controlDef = RibbonControlService.GetControlSizeDefinition(child);
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (2)
234public RibbonControlSizeDefinition ControlSizeDefinition 264public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (2)
219public RibbonControlSizeDefinition ControlSizeDefinition 249public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (1)
69public RibbonControlSizeDefinition ControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
85public RibbonControlSizeDefinition ControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (3)
70public RibbonControlSizeDefinition ControlSizeDefinition 114RibbonControlSizeDefinition currentLargeCsd = RibbonControlService.GetDefaultControlSizeDefinition(contentChild); 145return RibbonControlSizeDefinition.GetFrozenControlSizeDefinition(imageSize, isLabelVisible);
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (14)
588typeof(RibbonControlSizeDefinition), 598public static RibbonControlSizeDefinition GetControlSizeDefinition(DependencyObject element) 601return (RibbonControlSizeDefinition)element.GetValue(ControlSizeDefinitionProperty); 607public static void SetControlSizeDefinition(DependencyObject element, RibbonControlSizeDefinition value) 633RibbonControlSizeDefinition defaultControlSizeDefinition = RibbonControlService.GetDefaultControlSizeDefinition(d); 644public static RibbonControlSizeDefinition GetDefaultControlSizeDefinition(DependencyObject element) 647return (RibbonControlSizeDefinition)element.GetValue(DefaultControlSizeDefinitionProperty); 650public static void SetDefaultControlSizeDefinition(DependencyObject element, RibbonControlSizeDefinition value) 658DependencyProperty.RegisterAttached("DefaultControlSizeDefinition", typeof(RibbonControlSizeDefinition), typeof(RibbonControlService), 691return RibbonControlSizeDefinition.GetFrozenControlSizeDefinition(imageSize, isLabelVisible); 815typeof(RibbonControlSizeDefinition), 822public static RibbonControlSizeDefinition GetQuickAccessToolBarControlSizeDefinition(DependencyObject element) 825return (RibbonControlSizeDefinition)element.GetValue(QuickAccessToolBarControlSizeDefinitionProperty); 831public static void SetQuickAccessToolBarControlSizeDefinition(DependencyObject element, RibbonControlSizeDefinition value)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (19)
33DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(RibbonImageSize.Large)); 43DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(true)); 55typeof(RibbonControlSizeDefinition), 68typeof(RibbonControlSizeDefinition), 82typeof(RibbonControlSizeDefinition), 96typeof(RibbonControlSizeDefinition), 147internal static RibbonControlSizeDefinition GetFrozenControlSizeDefinition(RibbonImageSize imageSize, 176internal static RibbonControlSizeDefinition LargeImageWithLabel 193internal static RibbonControlSizeDefinition SmallImageWithLabel 210internal static RibbonControlSizeDefinition NoImageWithLabel 227internal static RibbonControlSizeDefinition LargeImageWithoutLabel 244internal static RibbonControlSizeDefinition SmallImageWithoutLabel 261internal static RibbonControlSizeDefinition NoImageWithoutLabel 278private static RibbonControlSizeDefinition _largeImageWithLabel; 279private static RibbonControlSizeDefinition _smallImageWithLabel; 280private static RibbonControlSizeDefinition _noImageWithLabel; 281private static RibbonControlSizeDefinition _largeImageWithoutLabel; 282private static RibbonControlSizeDefinition _smallImageWithoutLabel; 283private static RibbonControlSizeDefinition _noImageWithoutLabel;
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinitionCollection.cs (1)
11public class RibbonControlSizeDefinitionCollection : FreezableCollection<RibbonControlSizeDefinition>
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (11)
854RibbonControlSizeDefinition controlSizeDefinition = null; 887RibbonControlSizeDefinition lastControlSize = groupSizeDefinition.ControlSizeDefinitions[repeatStartIndex]; 894RibbonControlSizeDefinition controlSize = groupSizeDefinition.ControlSizeDefinitions[i]; 927RibbonControlSizeDefinition controlSize = (RibbonControlSizeDefinition)groupSizeDefinition.ControlSizeDefinitions[i].Clone(); 933RibbonControlSizeDefinition repeatedControlSizeDefinition = groupSizeDefinition.ControlSizeDefinitions[repeatStartIndex]; 938RibbonControlSizeDefinition sameSize = new RibbonControlSizeDefinition() 951RibbonControlSizeDefinition controlSize = (RibbonControlSizeDefinition)groupSizeDefinition.ControlSizeDefinitions[i].Clone(); 1061RibbonControlSizeDefinition controlSizeDefinition = null; 1214RibbonControlSizeDefinition def = controlSizeDefinitions[i];
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
428RibbonControlSizeDefinition qatControlSizeDefinition = RibbonControlService.GetQuickAccessToolBarControlSizeDefinition(child); 438RibbonControlSizeDefinition controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(parent); 2611RibbonControlSizeDefinition controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(element); 2658RibbonControlSizeDefinition controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(element); 2692RibbonControlSizeDefinition controlSizeDefinition = splitButton.ControlSizeDefinition; 2747RibbonControlSizeDefinition controlSizeDefinition = splitButton.ControlSizeDefinition;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
238public RibbonControlSizeDefinition ControlSizeDefinition 268public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (2)
234public RibbonControlSizeDefinition ControlSizeDefinition 264public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (2)
414public RibbonControlSizeDefinition ControlSizeDefinition 448public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (2)
241public RibbonControlSizeDefinition ControlSizeDefinition 271public RibbonControlSizeDefinition QuickAccessToolBarControlSizeDefinition