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