1 instantiation of ValueAndValueSource
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
204
return new
ValueAndValueSource
() { Value = d.GetValue(property), ValueSource = DependencyPropertyHelper.GetValueSource(d, property).BaseValueSource };
36 references to ValueAndValueSource
System.Windows.Controls.Ribbon (36)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (10)
1044
var
itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty);
1045
var
itemTemplateSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateSelectorProperty);
1046
var
itemStringFormat = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemStringFormatProperty);
1047
var
itemContainerStyle = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleProperty);
1048
var
itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleSelectorProperty);
1049
var
alternationCount = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.AlternationCountProperty);
1050
var
itemBindingGroup = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemBindingGroupProperty);
1052
var
headerTemplate = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderTemplateProperty);
1053
var
headerTemplateSelector = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderTemplateSelectorProperty);
1054
var
headerStringFormat = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderStringFormatProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
2181
var
itemTemplate = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemTemplateProperty);
2182
var
itemTemplateSelector = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemTemplateSelectorProperty);
2183
var
itemStringFormat = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemStringFormatProperty);
2184
var
itemContainerStyle = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemContainerStyleProperty);
2185
var
itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemContainerStyleSelectorProperty);
2186
var
alternationCount = RibbonHelper.GetValueAndValueSource(category, ItemsControl.AlternationCountProperty);
2187
var
itemBindingGroup = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemBindingGroupProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (12)
197
public static
ValueAndValueSource
GetValueAndValueSource(DependencyObject d, DependencyProperty property)
207
private static void RestoreValue(DependencyObject d, DependencyProperty property,
ValueAndValueSource
v)
249
ValueAndValueSource
itemTemplate,
250
ValueAndValueSource
itemTemplateSelector,
251
ValueAndValueSource
itemStringFormat,
252
ValueAndValueSource
itemContainerStyle,
253
ValueAndValueSource
itemContainerStyleSelector,
254
ValueAndValueSource
alternationCount,
255
ValueAndValueSource
itemBindingGroup,
256
ValueAndValueSource
headerTemplate,
257
ValueAndValueSource
headerTemplateSelector,
258
ValueAndValueSource
headerStringFormat)
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (7)
253
var
itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty);
254
var
itemTemplateSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateSelectorProperty);
255
var
itemStringFormat = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemStringFormatProperty);
256
var
itemContainerStyle = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleProperty);
257
var
itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleSelectorProperty);
258
var
alternationCount = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.AlternationCountProperty);
259
var
itemBindingGroup = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemBindingGroupProperty);