14 instantiations of RibbonControlSizeDefinition
System.Windows.Controls.Ribbon (14)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (7)
140
return new
RibbonControlSizeDefinition
();
182
_largeImageWithLabel = new
RibbonControlSizeDefinition
199
_smallImageWithLabel = new
RibbonControlSizeDefinition
216
_noImageWithLabel = new
RibbonControlSizeDefinition
233
_largeImageWithoutLabel = new
RibbonControlSizeDefinition
250
_smallImageWithoutLabel = new
RibbonControlSizeDefinition
267
_noImageWithoutLabel = new
RibbonControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
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 });
872
controlSizeDefinition = new
RibbonControlSizeDefinition
();
938
RibbonControlSizeDefinition sameSize = new
RibbonControlSizeDefinition
()
69 references to RibbonControlSizeDefinition
System.Windows.Controls.Ribbon (69)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
154
RibbonControlSizeDefinition
controlDef = RibbonControlService.GetControlSizeDefinition(child);
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (2)
234
public
RibbonControlSizeDefinition
ControlSizeDefinition
264
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (2)
219
public
RibbonControlSizeDefinition
ControlSizeDefinition
249
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (1)
69
public
RibbonControlSizeDefinition
ControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
85
public
RibbonControlSizeDefinition
ControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (3)
70
public
RibbonControlSizeDefinition
ControlSizeDefinition
114
RibbonControlSizeDefinition
currentLargeCsd = RibbonControlService.GetDefaultControlSizeDefinition(contentChild);
145
return
RibbonControlSizeDefinition
.GetFrozenControlSizeDefinition(imageSize, isLabelVisible);
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (14)
588
typeof(
RibbonControlSizeDefinition
),
598
public static
RibbonControlSizeDefinition
GetControlSizeDefinition(DependencyObject element)
601
return (
RibbonControlSizeDefinition
)element.GetValue(ControlSizeDefinitionProperty);
607
public static void SetControlSizeDefinition(DependencyObject element,
RibbonControlSizeDefinition
value)
633
RibbonControlSizeDefinition
defaultControlSizeDefinition = RibbonControlService.GetDefaultControlSizeDefinition(d);
644
public static
RibbonControlSizeDefinition
GetDefaultControlSizeDefinition(DependencyObject element)
647
return (
RibbonControlSizeDefinition
)element.GetValue(DefaultControlSizeDefinitionProperty);
650
public static void SetDefaultControlSizeDefinition(DependencyObject element,
RibbonControlSizeDefinition
value)
658
DependencyProperty.RegisterAttached("DefaultControlSizeDefinition", typeof(
RibbonControlSizeDefinition
), typeof(RibbonControlService),
691
return
RibbonControlSizeDefinition
.GetFrozenControlSizeDefinition(imageSize, isLabelVisible);
815
typeof(
RibbonControlSizeDefinition
),
822
public static
RibbonControlSizeDefinition
GetQuickAccessToolBarControlSizeDefinition(DependencyObject element)
825
return (
RibbonControlSizeDefinition
)element.GetValue(QuickAccessToolBarControlSizeDefinitionProperty);
831
public static void SetQuickAccessToolBarControlSizeDefinition(DependencyObject element,
RibbonControlSizeDefinition
value)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (19)
33
DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(
RibbonControlSizeDefinition
), new FrameworkPropertyMetadata(RibbonImageSize.Large));
43
DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(
RibbonControlSizeDefinition
), new FrameworkPropertyMetadata(true));
55
typeof(
RibbonControlSizeDefinition
),
68
typeof(
RibbonControlSizeDefinition
),
82
typeof(
RibbonControlSizeDefinition
),
96
typeof(
RibbonControlSizeDefinition
),
147
internal static
RibbonControlSizeDefinition
GetFrozenControlSizeDefinition(RibbonImageSize imageSize,
176
internal static
RibbonControlSizeDefinition
LargeImageWithLabel
193
internal static
RibbonControlSizeDefinition
SmallImageWithLabel
210
internal static
RibbonControlSizeDefinition
NoImageWithLabel
227
internal static
RibbonControlSizeDefinition
LargeImageWithoutLabel
244
internal static
RibbonControlSizeDefinition
SmallImageWithoutLabel
261
internal static
RibbonControlSizeDefinition
NoImageWithoutLabel
278
private static
RibbonControlSizeDefinition
_largeImageWithLabel;
279
private static
RibbonControlSizeDefinition
_smallImageWithLabel;
280
private static
RibbonControlSizeDefinition
_noImageWithLabel;
281
private static
RibbonControlSizeDefinition
_largeImageWithoutLabel;
282
private static
RibbonControlSizeDefinition
_smallImageWithoutLabel;
283
private static
RibbonControlSizeDefinition
_noImageWithoutLabel;
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinitionCollection.cs (1)
11
public class RibbonControlSizeDefinitionCollection : FreezableCollection<
RibbonControlSizeDefinition
>
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (11)
854
RibbonControlSizeDefinition
controlSizeDefinition = null;
887
RibbonControlSizeDefinition
lastControlSize = groupSizeDefinition.ControlSizeDefinitions[repeatStartIndex];
894
RibbonControlSizeDefinition
controlSize = groupSizeDefinition.ControlSizeDefinitions[i];
927
RibbonControlSizeDefinition
controlSize = (
RibbonControlSizeDefinition
)groupSizeDefinition.ControlSizeDefinitions[i].Clone();
933
RibbonControlSizeDefinition
repeatedControlSizeDefinition = groupSizeDefinition.ControlSizeDefinitions[repeatStartIndex];
938
RibbonControlSizeDefinition
sameSize = new RibbonControlSizeDefinition()
951
RibbonControlSizeDefinition
controlSize = (
RibbonControlSizeDefinition
)groupSizeDefinition.ControlSizeDefinitions[i].Clone();
1061
RibbonControlSizeDefinition
controlSizeDefinition = null;
1214
RibbonControlSizeDefinition
def = controlSizeDefinitions[i];
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
428
RibbonControlSizeDefinition
qatControlSizeDefinition = RibbonControlService.GetQuickAccessToolBarControlSizeDefinition(child);
438
RibbonControlSizeDefinition
controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(parent);
2611
RibbonControlSizeDefinition
controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(element);
2658
RibbonControlSizeDefinition
controlSizeDefinition = RibbonControlService.GetControlSizeDefinition(element);
2692
RibbonControlSizeDefinition
controlSizeDefinition = splitButton.ControlSizeDefinition;
2747
RibbonControlSizeDefinition
controlSizeDefinition = splitButton.ControlSizeDefinition;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
238
public
RibbonControlSizeDefinition
ControlSizeDefinition
268
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (2)
234
public
RibbonControlSizeDefinition
ControlSizeDefinition
264
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (2)
414
public
RibbonControlSizeDefinition
ControlSizeDefinition
448
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (2)
241
public
RibbonControlSizeDefinition
ControlSizeDefinition
271
public
RibbonControlSizeDefinition
QuickAccessToolBarControlSizeDefinition