5 writes to Template
PresentationFramework (5)
src\Framework\System\Windows\Controls\ContentPresenter.cs (5)
206
ctrl.
Template
= null; // and release the old content so it can be re-used elsewhere
296
this.
Template
= null;
357
this.
Template
= null;
860
Template
= null;
877
Template
= newTemplate;
11 references to Template
PresentationFramework (11)
src\Framework\System\Windows\Controls\ContentPresenter.cs (11)
203
else if (ctrl.
Template
== UIElementContentTemplate)
208
else if (ctrl.
Template
== DefaultContentTemplate)
246
if (ctrl._templateIsCurrent && ctrl.
Template
!= UIElementContentTemplate)
574
get { return
Template
; }
671
if (
Template
!= ChooseTemplate())
835
DataTemplate oldTemplate =
Template
;
910
if (
Template
== StringContentTemplate ||
911
Template
== AccessTextContentTemplate)
919
if (template != null && template ==
Template
)
925
if (template != null && template ==
Template
)
1157
/// Override this method to return an app specific <seealso cref="
Template
"/>.