28 references to ContentTemplateProperty
PresentationFramework (28)
src\Framework\System\Windows\Controls\ContentControl.cs (5)
141SetValue(ContentTemplateProperty, itemTemplate); 354get { return (DataTemplate) GetValue(ContentTemplateProperty); } 355set { SetValue(ContentTemplateProperty, value); } 374Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 423Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this);
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
260ContentControl.ContentTemplateProperty.AddOwner( 272get { return (DataTemplate) GetValue(ContentControl.ContentTemplateProperty); } 273set { SetValue(ContentControl.ContentTemplateProperty, value); }
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (2)
74ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 584else if (dp == GridViewColumnHeader.ContentTemplateProperty)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1223object template = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateProperty); 1752GridViewColumnHeader.ContentTemplateProperty,
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
338cp.ClearValue(ContentControl.ContentTemplateProperty);
src\Framework\System\Windows\Controls\GroupItem.cs (1)
212if (!HasNonDefaultValue(ContentTemplateProperty))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
36ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate)); 115DataGridHelper.TransferProperty(this, ContentTemplateProperty); 419else if (e.Property == DataGridColumn.HeaderTemplateProperty || e.Property == ContentTemplateProperty) 421DataGridHelper.TransferProperty(this, ContentTemplateProperty); 640ContentTemplateProperty,
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
127ContentTemplateProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 239DataGridHelper.TransferProperty(this, ContentTemplateProperty); 273else if (e.Property == DataGrid.RowHeaderTemplateProperty || e.Property == DataGridRow.HeaderTemplateProperty || e.Property == ContentTemplateProperty) 275DataGridHelper.TransferProperty(this, ContentTemplateProperty); 346ContentTemplateProperty,
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2754content.SetValue(ContentTemplateProperty, new TemplateBindingExtension(ContentTemplateProperty));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1951DependencyProperty dp = System.Windows.Controls.ContentControl.ContentTemplateProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1711return System.Windows.Controls.ContentControl.ContentTemplateProperty;