27 references to ItemTemplateProperty
PresentationFramework (10)
System\Windows\Controls\HeaderedItemsControl.cs (3)
436ClearValue(ItemTemplateProperty); 452ClearValue(ItemTemplateProperty); 466ClearValue(ItemTemplateProperty);
System\Windows\Controls\ItemsControl.cs (5)
461get { return (DataTemplate) GetValue(ItemTemplateProperty); } 462set { SetValue(ItemTemplateProperty, value); } 652Helper.CheckTemplateAndTemplateSelector("Item", ItemTemplateProperty, ItemTemplateSelectorProperty, this); 660if (Helper.IsTemplateDefined(ItemTemplateProperty, this)) 1756SetValue(ItemTemplateProperty, itemTemplate);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3032DependencyProperty dp = System.Windows.Controls.ItemsControl.ItemTemplateProperty;
System\Windows\Markup\KnownTypes.cs (1)
1838return System.Windows.Controls.ItemsControl.ItemTemplateProperty;
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1044var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty);
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (5)
33ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemTemplate)); 204if (e.Property == ItemTemplateProperty || e.Property == Ribbon.ContextualTabGroupHeaderTemplateProperty) 206PropertyHelper.TransferProperty(this, ItemTemplateProperty); 220ItemTemplateProperty, 238PropertyHelper.TransferProperty(this, ItemTemplateProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
62ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemTemplate))); 2181var itemTemplate = RibbonHelper.GetValueAndValueSource(category, ItemsControl.ItemTemplateProperty); 2455d.CoerceValue(ItemTemplateProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (5)
51ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemTemplate))); 232if (e.Property == ItemTemplateProperty || e.Property == RibbonGallery.GalleryItemTemplateProperty) 234PropertyHelper.TransferProperty(this, ItemTemplateProperty); 255ItemsControl.ItemTemplateProperty, 273PropertyHelper.TransferProperty(this, ItemTemplateProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
272RestoreValue(itemsControl, ItemsControl.ItemTemplateProperty, itemTemplate); 1694new PropertyAndTransferMode () { Property = ItemsControl.ItemTemplateProperty, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
253var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.ItemTemplateProperty);