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)
681
RibbonImageSize
imageSize =
RibbonImageSize
.Collapsed;
684
imageSize =
RibbonImageSize
.Large;
688
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:
185
ImageSize =
RibbonImageSize
.Large,
202
ImageSize =
RibbonImageSize
.Small,
219
ImageSize =
RibbonImageSize
.Collapsed,
236
ImageSize =
RibbonImageSize
.Large,
253
ImageSize =
RibbonImageSize
.Small,
270
ImageSize =
RibbonImageSize
.Collapsed,
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (14)
533
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
535
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
537
large.ControlSizeDefinitions[2].ImageSize ==
RibbonImageSize
.Large &&
542
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
543
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
544
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
553
if (large.ControlSizeDefinitions[0].ImageSize ==
RibbonImageSize
.Large &&
555
large.ControlSizeDefinitions[1].ImageSize ==
RibbonImageSize
.Large &&
560
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
561
medium.ControlSizeDefinitions.Add(new RibbonControlSizeDefinition() { ImageSize =
RibbonImageSize
.Small, IsLabelVisible = true });
897
if (controlSize.ImageSize !=
RibbonImageSize
.Collapsed &&
898
(controlSize.IsLabelVisible || controlSize.ImageSize ==
RibbonImageSize
.Large) &&
935
bool isNewLabelVisible = (repeatedControlSizeDefinition.ImageSize ==
RibbonImageSize
.Large && repeatedControlSizeDefinition.IsLabelVisible);
941
ImageSize =
RibbonImageSize
.Small,
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (9)
2617
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2621
else if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2629
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2662
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2698
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2702
else if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2710
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
2753
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)
2768
if (controlSizeDefinition.ImageSize ==
RibbonImageSize
.Small)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
424
if (ControlSizeDefinition.ImageSize ==
RibbonImageSize
.Large)