32 references to ContentTemplateSelectorProperty
PresentationFramework (26)
System\Windows\Controls\ContentControl.cs (5)
138
SetValue(
ContentTemplateSelectorProperty
, itemTemplateSelector);
369
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
398
get { return (DataTemplateSelector) GetValue(
ContentTemplateSelectorProperty
); }
399
set { SetValue(
ContentTemplateSelectorProperty
, value); }
418
Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty,
ContentTemplateSelectorProperty
, this);
System\Windows\Controls\ContentPresenter.cs (3)
298
ContentControl.
ContentTemplateSelectorProperty
.AddOwner(
314
get { return (DataTemplateSelector) GetValue(ContentControl.
ContentTemplateSelectorProperty
); }
315
set { SetValue(ContentControl.
ContentTemplateSelectorProperty
, value); }
System\Windows\Controls\GridViewColumnHeader.cs (2)
68
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged)));
595
else if (dp == GridViewColumnHeader.
ContentTemplateSelectorProperty
)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1231
object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.
ContentTemplateSelectorProperty
);
1755
GridViewColumnHeader.
ContentTemplateSelectorProperty
,
System\Windows\Controls\GridViewRowPresenter.cs (1)
345
cp.ClearValue(ContentControl.
ContentTemplateSelectorProperty
);
System\Windows\Controls\GroupItem.cs (1)
204
if (!HasNonDefaultValue(
ContentTemplateSelectorProperty
))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
31
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
110
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
417
else if (e.Property == DataGridColumn.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
419
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
648
ContentTemplateSelectorProperty
,
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
122
ContentTemplateSelectorProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
234
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
271
else if (e.Property == DataGrid.RowHeaderTemplateSelectorProperty || e.Property == DataGridRow.HeaderTemplateSelectorProperty || e.Property ==
ContentTemplateSelectorProperty
)
273
DataGridHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
358
ContentTemplateSelectorProperty
,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1995
DependencyProperty dp = System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1706
return System.Windows.Controls.ContentControl.
ContentTemplateSelectorProperty
;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1675
new PropertyAndTransferMode () { Property = ContentControl.
ContentTemplateSelectorProperty
, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
43
ContentTemplateSelectorProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplateSelector));
412
PropertyHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
431
else if (e.Property ==
ContentTemplateSelectorProperty
|| e.Property == RibbonTab.HeaderTemplateSelectorProperty)
433
PropertyHelper.TransferProperty(this,
ContentTemplateSelectorProperty
);
591
ContentTemplateSelectorProperty
,