5 writes to Template
PresentationFramework (5)
System\Windows\Controls\ContentPresenter.cs (5)
204
ctrl.
Template
= null; // and release the old content so it can be re-used elsewhere
294
this.
Template
= null;
355
this.
Template
= null;
858
Template
= null;
875
Template
= newTemplate;
11 references to Template
PresentationFramework (11)
System\Windows\Controls\ContentPresenter.cs (11)
201
else if (ctrl.
Template
== UIElementContentTemplate)
206
else if (ctrl.
Template
== DefaultContentTemplate)
244
if (ctrl._templateIsCurrent && ctrl.
Template
!= UIElementContentTemplate)
572
get { return
Template
; }
669
if (
Template
!= ChooseTemplate())
833
DataTemplate oldTemplate =
Template
;
908
if (
Template
== StringContentTemplate ||
909
Template
== AccessTextContentTemplate)
917
if (template != null && template ==
Template
)
923
if (template != null && template ==
Template
)
1154
/// Override this method to return an app specific <seealso cref="
Template
"/>.