13 references to ContentTemplateSelectorProperty
PresentationFramework (13)
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
293Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 354Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 614SetValue(ContentTemplateSelectorProperty, itemTemplateSelector);
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (5)
23ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 76ContentTemplateSelectorProperty, 167DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty); 188else if (e.Property == DataGrid.RowDetailsTemplateSelectorProperty || e.Property == DataGridRow.DetailsTemplateSelectorProperty || e.Property == ContentTemplateSelectorProperty) 190DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty);
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
1229!IsValueDefined(ContentPresenter.ContentTemplateSelectorProperty) && 1235SetValue(ContentPresenter.ContentTemplateSelectorProperty, new TemplateBindingExtension(dpContentTemplateSelector));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2069DependencyProperty dp = System.Windows.Controls.ContentPresenter.ContentTemplateSelectorProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1725return System.Windows.Controls.ContentPresenter.ContentTemplateSelectorProperty;
src\Framework\System\Windows\TemplateContent.cs (1)
1354pv.Property = ContentPresenter.ContentTemplateSelectorProperty;