5 writes to Template
PresentationFramework (5)
System\Windows\Controls\ContentPresenter.cs (5)
195
ctrl.
Template
= null; // and release the old content so it can be re-used elsewhere
285
this.
Template
= null;
346
this.
Template
= null;
849
Template
= null;
866
Template
= newTemplate;
11 references to Template
PresentationFramework (11)
System\Windows\Controls\ContentPresenter.cs (11)
192
else if (ctrl.
Template
== UIElementContentTemplate)
197
else if (ctrl.
Template
== DefaultContentTemplate)
235
if (ctrl._templateIsCurrent && ctrl.
Template
!= UIElementContentTemplate)
563
get { return
Template
; }
660
if (
Template
!= ChooseTemplate())
824
DataTemplate oldTemplate =
Template
;
899
if (
Template
== StringContentTemplate ||
900
Template
== AccessTextContentTemplate)
908
if (template != null && template ==
Template
)
914
if (template != null && template ==
Template
)
1145
/// Override this method to return an app specific <seealso cref="
Template
"/>.