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