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