1 write to ControlSizeDefinitions
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinition.cs (1)
29
ControlSizeDefinitions
= new RibbonControlSizeDefinitionCollection();
31 references to ControlSizeDefinitions
System.Windows.Controls.Ribbon (31)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (31)
513
int lastRepeatStartIndex = last.
ControlSizeDefinitions
.Count - 1;
528
lastRepeatStartIndex = last.
ControlSizeDefinitions
.Count - 1;
536
if (large.
ControlSizeDefinitions
[0].ImageSize == RibbonImageSize.Large &&
537
large.
ControlSizeDefinitions
[0].IsLabelVisible &&
538
large.
ControlSizeDefinitions
[1].ImageSize == RibbonImageSize.Large &&
539
large.
ControlSizeDefinitions
[1].IsLabelVisible &&
540
large.
ControlSizeDefinitions
[2].ImageSize == RibbonImageSize.Large &&
541
large.
ControlSizeDefinitions
[2].IsLabelVisible)
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 &&
557
large.
ControlSizeDefinitions
[0].IsLabelVisible &&
558
large.
ControlSizeDefinitions
[1].ImageSize == RibbonImageSize.Large &&
559
large.
ControlSizeDefinitions
[1].IsLabelVisible)
563
medium.
ControlSizeDefinitions
.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true });
564
medium.
ControlSizeDefinitions
.Add(new RibbonControlSizeDefinition() { ImageSize = RibbonImageSize.Small, IsLabelVisible = true });
882
largeGroupSizeDefinition.
ControlSizeDefinitions
.Add(controlSizeDefinition);
894
RibbonControlSizeDefinition lastControlSize = groupSizeDefinition.
ControlSizeDefinitions
[repeatStartIndex];
901
RibbonControlSizeDefinition controlSize = groupSizeDefinition.
ControlSizeDefinitions
[i];
934
RibbonControlSizeDefinition controlSize = (RibbonControlSizeDefinition)groupSizeDefinition.
ControlSizeDefinitions
[i].Clone();
935
reduced.
ControlSizeDefinitions
.Add(controlSize);
940
RibbonControlSizeDefinition repeatedControlSizeDefinition = groupSizeDefinition.
ControlSizeDefinitions
[repeatStartIndex];
951
reduced.
ControlSizeDefinitions
.Add(sameSize);
956
for (int i = repeatStartIndex + 3; i < groupSizeDefinition.
ControlSizeDefinitions
.Count; i++)
958
RibbonControlSizeDefinition controlSize = (RibbonControlSizeDefinition)groupSizeDefinition.
ControlSizeDefinitions
[i].Clone();
959
reduced.
ControlSizeDefinitions
.Add(controlSize);
1072
RibbonControlSizeDefinitionCollection controlSizeDefinitions = groupDefinition.
ControlSizeDefinitions
;
1189
RibbonControlSizeDefinitionCollection currentControlSizeDefinitions = currentGroupSizeDefinition.
ControlSizeDefinitions
;
1193
return currentGroupSizeDefinition.
ControlSizeDefinitions
;
1205
RibbonControlSizeDefinitionCollection controlSizeDefinitions = groupSizeDefinition.
ControlSizeDefinitions
;