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