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