ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when the ContentTemplate changes.
protected:
virtual void OnContentTemplateChanged(System::Windows::DataTemplate ^ oldContentTemplate, System::Windows::DataTemplate ^ newContentTemplate);
protected virtual void OnContentTemplateChanged (System.Windows.DataTemplate oldContentTemplate, System.Windows.DataTemplate newContentTemplate);
abstract member OnContentTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
override this.OnContentTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
Protected Overridable Sub OnContentTemplateChanged (oldContentTemplate As DataTemplate, newContentTemplate As DataTemplate)
Parameters
- oldContentTemplate
- DataTemplate
The old value of the ContentTemplate property.
- newContentTemplate
- DataTemplate
The new value of the ContentTemplate property.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.