Method | Description | |
---|---|---|
OnContentChanged ( object oldContent, object newContent ) : void |
Called when the value of the P:System.Windows.Controls.ContentControl.Content property changes. Will attempt to discover the DataTemplate from the ResourceDictionary by matching the type name of newContent. |
Method | Description | |
---|---|---|
GetDefaultContentTemplate ( ) : System.Windows.DataTemplate |
protected OnContentChanged ( object oldContent, object newContent ) : void | ||
oldContent | object | The old value of the |
newContent | object | The new value of the |
return | void |