1 write to OwnerTemplate
PresentationFramework (1)
System\Windows\FrameworkTemplate.cs (1)
193value.OwnerTemplate = this;
29 references to OwnerTemplate
PresentationFramework (29)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
220type = tempContent.OwnerTemplate.TargetTypeInternal;
System\Windows\TemplateContent.cs (28)
238OwnerTemplate.StyleConnector = TemplateLoadData.RootObject as IStyleConnector; 247if (OwnerTemplate is ItemsPanelTemplate) 281StyleHelper.UpdateTables(ref value, ref OwnerTemplate.ChildRecordFromChildIndex, ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 282ref OwnerTemplate.ResourceDependents, ref OwnerTemplate._dataTriggerRecordFromBinding, OwnerTemplate.ChildIndexFromChildName, ref OwnerTemplate._hasInstanceValues); 311int lastIndex = OwnerTemplate.LastChildIndex; 315int childIndex = StyleHelper.CreateChildIndexFromChildName(name, OwnerTemplate); 317OwnerTemplate.ChildNames.Add(name); 318OwnerTemplate.ChildTypeFromChildIndex.Add(childIndex, type.UnderlyingType); 508OwnerTemplate.TargetTypeInternal, 511ref OwnerTemplate.ChildRecordFromChildIndex, 512ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 513ref OwnerTemplate.ResourceDependents, 514ref OwnerTemplate._dataTriggerRecordFromBinding, 515ref OwnerTemplate._hasInstanceValues, 516OwnerTemplate.ChildIndexFromChildName, 529OwnerTemplate.TargetTypeInternal, 532ref OwnerTemplate.ChildRecordFromChildIndex, 533ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 534ref OwnerTemplate.ResourceDependents, 535ref OwnerTemplate._dataTriggerRecordFromBinding, 536ref OwnerTemplate._hasInstanceValues, 537OwnerTemplate.ChildIndexFromChildName, 989if (OwnerTemplate.StyleConnector != null) 991OwnerTemplate.StyleConnector.Connect((int)xamlReader.Value, frames.CurrentFrame.Instance);