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