49 references to RibbonImageSize
System.Windows.Controls.Ribbon (49)
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (6)
100
RibbonImageSize
imageSize =
RibbonImageSize
.Collapsed;
125
if (imageSize ==
RibbonImageSize
.Collapsed)
129
else if (currentLargeCsd.ImageSize ==
RibbonImageSize
.Large)
131
imageSize =
RibbonImageSize
.Large;
136
if (isLabelVisible && imageSize ==
RibbonImageSize
.Large)
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (4)
684
RibbonImageSize
imageSize =
RibbonImageSize
.Collapsed;
687
imageSize =
RibbonImageSize
.Large;
691
imageSize =
RibbonImageSize
.Small;
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (15)
26
public
RibbonImageSize
ImageSize
28
get { return (
RibbonImageSize
)GetValue(ImageSizeProperty); }
34
DependencyProperty.Register("ImageSize", typeof(
RibbonImageSize
), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(
RibbonImageSize
.Large));
148
internal static RibbonControlSizeDefinition GetFrozenControlSizeDefinition(
RibbonImageSize
imageSize,
155
case
RibbonImageSize
.Large:
157
case
RibbonImageSize
.Small:
167
case
RibbonImageSize
.Large:
169
case
RibbonImageSize
.Small:
184
_largeImageWithLabel.ImageSize =
RibbonImageSize
.Large;
199
_smallImageWithLabel.ImageSize =
RibbonImageSize
.Small;
214
_noImageWithLabel.ImageSize =
RibbonImageSize
.Collapsed;
229
_largeImageWithoutLabel.ImageSize =
RibbonImageSize
.Large;
244
_smallImageWithoutLabel.ImageSize =
RibbonImageSize
.Small;
259
_noImageWithoutLabel.ImageSize =
RibbonImageSize
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (14)
536
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
538
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
540
large.ControlSizeDefinitions[2].ImageSize ==
RibbonImageSize
.Large &&
545
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
546
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
547
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
556
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
558
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
563
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
564
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
903
if (controlSize.ImageSize !=
RibbonImageSize
.Collapsed &&
904
(controlSize.IsLabelVisible || controlSize.ImageSize ==
RibbonImageSize
.Large) &&
941
bool isNewLabelVisible = (repeatedControlSizeDefinition.ImageSize ==
RibbonImageSize
.Large && repeatedControlSizeDefinition.IsLabelVisible);
947
ImageSize =
RibbonImageSize
.Small,
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (9)
2631
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2635
else if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2643
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2676
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2712
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2716
else if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2724
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2767
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2782
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
433
if (ControlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)