27 references to ItemTemplateProperty
PresentationFramework (10)
System\Windows\Controls\HeaderedItemsControl.cs (3)
441
ClearValue(
ItemTemplateProperty
);
457
ClearValue(
ItemTemplateProperty
);
471
ClearValue(
ItemTemplateProperty
);
System\Windows\Controls\ItemsControl.cs (5)
470
get { return (DataTemplate) GetValue(
ItemTemplateProperty
); }
471
set { SetValue(
ItemTemplateProperty
, value); }
661
Helper.CheckTemplateAndTemplateSelector("Item",
ItemTemplateProperty
, ItemTemplateSelectorProperty, this);
669
if (Helper.IsTemplateDefined(
ItemTemplateProperty
, this))
1765
SetValue(
ItemTemplateProperty
, itemTemplate);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3034
DependencyProperty dp = System.Windows.Controls.ItemsControl.
ItemTemplateProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1838
return System.Windows.Controls.ItemsControl.
ItemTemplateProperty
;
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1047
var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.
ItemTemplateProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (5)
35
ItemTemplateProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemTemplate));
206
if (e.Property ==
ItemTemplateProperty
|| e.Property == Ribbon.ContextualTabGroupHeaderTemplateProperty)
208
PropertyHelper.TransferProperty(this,
ItemTemplateProperty
);
222
ItemTemplateProperty
,
240
PropertyHelper.TransferProperty(this,
ItemTemplateProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
64
ItemTemplateProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemTemplate)));
2183
var itemTemplate = RibbonHelper.GetValueAndValueSource(category, ItemsControl.
ItemTemplateProperty
);
2457
d.CoerceValue(
ItemTemplateProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (5)
56
ItemTemplateProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemTemplate)));
237
if (e.Property ==
ItemTemplateProperty
|| e.Property == RibbonGallery.GalleryItemTemplateProperty)
239
PropertyHelper.TransferProperty(this,
ItemTemplateProperty
);
260
ItemsControl.
ItemTemplateProperty
,
278
PropertyHelper.TransferProperty(this,
ItemTemplateProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
277
RestoreValue(itemsControl, ItemsControl.
ItemTemplateProperty
, itemTemplate);
1699
new PropertyAndTransferMode () { Property = ItemsControl.
ItemTemplateProperty
, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
255
var itemTemplate = RibbonHelper.GetValueAndValueSource(childItemsControl, ItemsControl.
ItemTemplateProperty
);