13 references to ContentTemplateProperty
PresentationFramework (13)
System\Windows\Controls\ContentPresenter.cs (3)
282Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 343Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 601SetValue(ContentTemplateProperty, itemTemplate);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (5)
18ContentTemplateProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 54ContentTemplateProperty, 162DataGridHelper.TransferProperty(this, ContentTemplateProperty); 180if (e.Property == DataGrid.RowDetailsTemplateProperty || e.Property == DataGridRow.DetailsTemplateProperty || e.Property == ContentTemplateProperty) 182DataGridHelper.TransferProperty(this, ContentTemplateProperty);
System\Windows\FrameworkElementFactory.cs (2)
1196if (!IsValueDefined(ContentPresenter.ContentTemplateProperty) && 1201SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2059DependencyProperty dp = System.Windows.Controls.ContentPresenter.ContentTemplateProperty;
System\Windows\Markup\KnownTypes.cs (1)
1722return System.Windows.Controls.ContentPresenter.ContentTemplateProperty;
System\Windows\TemplateContent.cs (1)
1271pv.Property = ContentPresenter.ContentTemplateProperty;