Skip to main content
ContentControlOnContentTemplateSelectorChanged Method
 

Called when the property changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnContentTemplateSelectorChanged(
	DataTemplateSelector oldContentTemplateSelector,
	DataTemplateSelector newContentTemplateSelector
)
protected:
virtual void OnContentTemplateSelectorChanged(
	DataTemplateSelector^ oldContentTemplateSelector,
	DataTemplateSelector^ newContentTemplateSelector
)
abstract OnContentTemplateSelectorChanged : 
        oldContentTemplateSelector:DataTemplateSelector *
        newContentTemplateSelector:DataTemplateSelector -> unit
override OnContentTemplateSelectorChanged : 
        oldContentTemplateSelector:DataTemplateSelector *
        newContentTemplateSelector:DataTemplateSelector -> unit
Protected Overridable Sub OnContentTemplateSelectorChanged (
	oldContentTemplateSelector As DataTemplateSelector,
	newContentTemplateSelector As DataTemplateSelector
)

Parameters

oldContentTemplateSelector
Type:

The old value of the property.

newContentTemplateSelector
Type:

The new value of the property.

.NET Framework
Available since 3.0
Return to top