12 writes to ImageSize
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (6)
184ImageSize = RibbonImageSize.Large, 201ImageSize = RibbonImageSize.Small, 218ImageSize = RibbonImageSize.Collapsed, 235ImageSize = RibbonImageSize.Large, 252ImageSize = RibbonImageSize.Small, 269ImageSize = RibbonImageSize.Collapsed,
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (6)
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 }); 940ImageSize = RibbonImageSize.Small,
22 references to ImageSize
System.Windows.Controls.Ribbon (22)
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (2)
126imageSize = currentLargeCsd.ImageSize; 128else if (currentLargeCsd.ImageSize == RibbonImageSize.Large)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (10)
532if (large.ControlSizeDefinitions[0].ImageSize == RibbonImageSize.Large && 534large.ControlSizeDefinitions[1].ImageSize == RibbonImageSize.Large && 536large.ControlSizeDefinitions[2].ImageSize == RibbonImageSize.Large && 552if (large.ControlSizeDefinitions[0].ImageSize == RibbonImageSize.Large && 554large.ControlSizeDefinitions[1].ImageSize == RibbonImageSize.Large && 896if (controlSize.ImageSize != RibbonImageSize.Collapsed && 897(controlSize.IsLabelVisible || controlSize.ImageSize == RibbonImageSize.Large) && 898controlSize.ImageSize == lastControlSize.ImageSize && 934bool isNewLabelVisible = (repeatedControlSizeDefinition.ImageSize == RibbonImageSize.Large && repeatedControlSizeDefinition.IsLabelVisible);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (9)
2616if (controlSizeDefinition.ImageSize == RibbonImageSize.Large) 2620else if (controlSizeDefinition.ImageSize == RibbonImageSize.Small) 2628if (controlSizeDefinition.ImageSize == RibbonImageSize.Small) 2661if (controlSizeDefinition.ImageSize == RibbonImageSize.Large) 2697if (controlSizeDefinition.ImageSize == RibbonImageSize.Large) 2701else if (controlSizeDefinition.ImageSize == RibbonImageSize.Small) 2709if (controlSizeDefinition.ImageSize == RibbonImageSize.Small) 2752if (controlSizeDefinition.ImageSize == RibbonImageSize.Large) 2767if (controlSizeDefinition.ImageSize == RibbonImageSize.Small)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
423if (ControlSizeDefinition.ImageSize == RibbonImageSize.Large)