14 references to ContentTemplateProperty
PresentationFramework (13)
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
293Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 354Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 612SetValue(ContentTemplateProperty, itemTemplate);
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (5)
22ContentTemplateProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 58ContentTemplateProperty, 166DataGridHelper.TransferProperty(this, ContentTemplateProperty); 184if (e.Property == DataGrid.RowDetailsTemplateProperty || e.Property == DataGridRow.DetailsTemplateProperty || e.Property == ContentTemplateProperty) 186DataGridHelper.TransferProperty(this, ContentTemplateProperty);
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
1228if (!IsValueDefined(ContentPresenter.ContentTemplateProperty) && 1233SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2053DependencyProperty dp = System.Windows.Controls.ContentPresenter.ContentTemplateProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1723return System.Windows.Controls.ContentPresenter.ContentTemplateProperty;
src\Framework\System\Windows\TemplateContent.cs (1)
1338pv.Property = ContentPresenter.ContentTemplateProperty;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
745contentPresenterFactory.SetBinding(ContentPresenter.ContentTemplateProperty, binding);