49 references to RibbonImageSize
System.Windows.Controls.Ribbon (49)
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (6)
99
RibbonImageSize
imageSize =
RibbonImageSize
.Collapsed;
124
if (imageSize ==
RibbonImageSize
.Collapsed)
128
else if (currentLargeCsd.ImageSize ==
RibbonImageSize
.Large)
130
imageSize =
RibbonImageSize
.Large;
135
if (isLabelVisible && imageSize ==
RibbonImageSize
.Large)
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (4)
680
RibbonImageSize
imageSize =
RibbonImageSize
.Collapsed;
683
imageSize =
RibbonImageSize
.Large;
687
imageSize =
RibbonImageSize
.Small;
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (15)
25
public
RibbonImageSize
ImageSize
27
get { return (
RibbonImageSize
)GetValue(ImageSizeProperty); }
33
DependencyProperty.Register("ImageSize", typeof(
RibbonImageSize
), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(
RibbonImageSize
.Large));
147
internal static RibbonControlSizeDefinition GetFrozenControlSizeDefinition(
RibbonImageSize
imageSize,
154
case
RibbonImageSize
.Large:
156
case
RibbonImageSize
.Small:
166
case
RibbonImageSize
.Large:
168
case
RibbonImageSize
.Small:
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 (14)
532
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
534
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
536
large.ControlSizeDefinitions[2].ImageSize ==
RibbonImageSize
.Large &&
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 });
552
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
554
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
559
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
560
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
896
if (controlSize.ImageSize !=
RibbonImageSize
.Collapsed &&
897
(controlSize.IsLabelVisible || controlSize.ImageSize ==
RibbonImageSize
.Large) &&
934
bool isNewLabelVisible = (repeatedControlSizeDefinition.ImageSize ==
RibbonImageSize
.Large && repeatedControlSizeDefinition.IsLabelVisible);
940
ImageSize =
RibbonImageSize
.Small,
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)