32 references to ContentTemplateSelectorProperty
PresentationFramework (26)
System\Windows\Controls\ContentControl.cs (5)
147
SetValue(
ContentTemplateSelectorProperty
, itemTemplateSelector);
378
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
407
get { return (DataTemplateSelector) GetValue(
ContentTemplateSelectorProperty
); }
408
set { SetValue(
ContentTemplateSelectorProperty
, value); }
427
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
System\Windows\Controls\ContentPresenter.cs (3)
305
ContentControl.
ContentTemplateSelectorProperty
.AddOwner(
321
get { return (DataTemplateSelector) GetValue(ContentControl.
ContentTemplateSelectorProperty
); }
322
set { SetValue(ContentControl.
ContentTemplateSelectorProperty
, value); }
System\Windows\Controls\GridViewColumnHeader.cs (2)
72
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged)));
599
else if (dp == GridViewColumnHeader.
ContentTemplateSelectorProperty
)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1226
object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.
ContentTemplateSelectorProperty
);
1750
GridViewColumnHeader.
ContentTemplateSelectorProperty
,
System\Windows\Controls\GridViewRowPresenter.cs (1)
349
cp.ClearValue(ContentControl.
ContentTemplateSelectorProperty
);
System\Windows\Controls\GroupItem.cs (1)
212
if (!HasNonDefaultValue(
ContentTemplateSelectorProperty
))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
36
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
115
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
422
else if (e.Property == DataGridColumn.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
424
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
653
ContentTemplateSelectorProperty
,
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
127
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
239
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
276
else if (e.Property == DataGrid.RowHeaderTemplateSelectorProperty || e.Property == DataGridRow.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
278
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
363
ContentTemplateSelectorProperty
,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1975
DependencyProperty dp = System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1712
return System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1676
new PropertyAndTransferMode () { Property = ContentControl.
ContentTemplateSelectorProperty
, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
45
ContentTemplateSelectorProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplateSelector));
414
PropertyHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
433
else if (e.Property ==
ContentTemplateSelectorProperty
|| e.Property == RibbonTab.HeaderTemplateSelectorProperty)
435
PropertyHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
593
ContentTemplateSelectorProperty
,