26 references to ContentTemplateSelectorProperty
PresentationFramework (26)
src\Framework\System\Windows\Controls\ContentControl.cs (5)
143
SetValue(
ContentTemplateSelectorProperty
, itemTemplateSelector);
374
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
403
get { return (DataTemplateSelector) GetValue(
ContentTemplateSelectorProperty
); }
404
set { SetValue(
ContentTemplateSelectorProperty
, value); }
423
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
307
ContentControl.
ContentTemplateSelectorProperty
.AddOwner(
323
get { return (DataTemplateSelector) GetValue(ContentControl.
ContentTemplateSelectorProperty
); }
324
set { SetValue(ContentControl.
ContentTemplateSelectorProperty
, value); }
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (2)
75
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged)));
589
else if (dp == GridViewColumnHeader.
ContentTemplateSelectorProperty
)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1229
object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.
ContentTemplateSelectorProperty
);
1753
GridViewColumnHeader.
ContentTemplateSelectorProperty
,
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
351
cp.ClearValue(ContentControl.
ContentTemplateSelectorProperty
);
src\Framework\System\Windows\Controls\GroupItem.cs (1)
214
if (!HasNonDefaultValue(
ContentTemplateSelectorProperty
))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
37
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
116
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
423
else if (e.Property == DataGridColumn.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
425
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
654
ContentTemplateSelectorProperty
,
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
128
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
240
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
277
else if (e.Property == DataGrid.RowHeaderTemplateSelectorProperty || e.Property == DataGridRow.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
279
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
364
ContentTemplateSelectorProperty
,
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1967
DependencyProperty dp = System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1713
return System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;