26 references to ContentTemplateSelectorProperty
PresentationFramework (26)
src\Framework\System\Windows\Controls\ContentControl.cs (5)
143SetValue(ContentTemplateSelectorProperty, itemTemplateSelector); 374Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 403get { return (DataTemplateSelector) GetValue(ContentTemplateSelectorProperty); } 404set { SetValue(ContentTemplateSelectorProperty, value); } 423Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this);
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
307ContentControl.ContentTemplateSelectorProperty.AddOwner( 323get { return (DataTemplateSelector) GetValue(ContentControl.ContentTemplateSelectorProperty); } 324set { SetValue(ContentControl.ContentTemplateSelectorProperty, value); }
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (2)
75ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 589else if (dp == GridViewColumnHeader.ContentTemplateSelectorProperty)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1229object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateSelectorProperty); 1753GridViewColumnHeader.ContentTemplateSelectorProperty,
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
351cp.ClearValue(ContentControl.ContentTemplateSelectorProperty);
src\Framework\System\Windows\Controls\GroupItem.cs (1)
214if (!HasNonDefaultValue(ContentTemplateSelectorProperty))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
37ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 116DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty); 423else if (e.Property == DataGridColumn.HeaderTemplateSelectorProperty || e.Property == ContentTemplateSelectorProperty) 425DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty); 654ContentTemplateSelectorProperty,
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
128ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 240DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty); 277else if (e.Property == DataGrid.RowHeaderTemplateSelectorProperty || e.Property == DataGridRow.HeaderTemplateSelectorProperty || e.Property == ContentTemplateSelectorProperty) 279DataGridHelper.TransferProperty(this, ContentTemplateSelectorProperty); 364ContentTemplateSelectorProperty,
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1967DependencyProperty dp = System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1713return System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty;