1 instantiation of ValueAndValueSource
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
209return 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)
1047var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty); 1048var itemTemplateSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateSelectorProperty); 1049var itemStringFormat = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemStringFormatProperty); 1050var itemContainerStyle = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleProperty); 1051var itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleSelectorProperty); 1052var alternationCount = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.AlternationCountProperty); 1053var itemBindingGroup = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemBindingGroupProperty); 1055var headerTemplate = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderTemplateProperty); 1056var headerTemplateSelector = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderTemplateSelectorProperty); 1057var headerStringFormat = RibbonHelper.GetValueAndValueSource(headeredItemsControl, HeaderedItemsControl.HeaderStringFormatProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
2183var itemTemplate = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemTemplateProperty); 2184var itemTemplateSelector = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemTemplateSelectorProperty); 2185var itemStringFormat = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemStringFormatProperty); 2186var itemContainerStyle = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemContainerStyleProperty); 2187var itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemContainerStyleSelectorProperty); 2188var alternationCount = RibbonHelper.GetValueAndValueSource(category, ItemsControl.AlternationCountProperty); 2189var itemBindingGroup = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemBindingGroupProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (12)
202public static ValueAndValueSource GetValueAndValueSource(DependencyObject d, DependencyProperty property) 212private static void RestoreValue(DependencyObject d, DependencyProperty property, ValueAndValueSource v) 254ValueAndValueSource itemTemplate, 255ValueAndValueSource itemTemplateSelector, 256ValueAndValueSource itemStringFormat, 257ValueAndValueSource itemContainerStyle, 258ValueAndValueSource itemContainerStyleSelector, 259ValueAndValueSource alternationCount, 260ValueAndValueSource itemBindingGroup, 261ValueAndValueSource headerTemplate, 262ValueAndValueSource headerTemplateSelector, 263ValueAndValueSource headerStringFormat)
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (7)
255var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty); 256var itemTemplateSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateSelectorProperty); 257var itemStringFormat = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemStringFormatProperty); 258var itemContainerStyle = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleProperty); 259var itemContainerStyleSelector = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemContainerStyleSelectorProperty); 260var alternationCount = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.AlternationCountProperty); 261var itemBindingGroup = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemBindingGroupProperty);