1 write to OwnerTemplate
PresentationFramework (1)
System\Windows\FrameworkTemplate.cs (1)
193value.OwnerTemplate = this;
28 references to OwnerTemplate
PresentationFramework (28)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
220type = tempContent.OwnerTemplate.TargetTypeInternal;
System\Windows\TemplateContent.cs (27)
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); 505OwnerTemplate.TargetTypeInternal, 508ref OwnerTemplate.ChildRecordFromChildIndex, 509ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 510ref OwnerTemplate.ResourceDependents, 511ref OwnerTemplate._dataTriggerRecordFromBinding, 512ref OwnerTemplate._hasInstanceValues, 513OwnerTemplate.ChildIndexFromChildName, 526OwnerTemplate.TargetTypeInternal, 529ref OwnerTemplate.ChildRecordFromChildIndex, 530ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 531ref OwnerTemplate.ResourceDependents, 532ref OwnerTemplate._dataTriggerRecordFromBinding, 533ref OwnerTemplate._hasInstanceValues, 534OwnerTemplate.ChildIndexFromChildName, 986OwnerTemplate.StyleConnector?.Connect((int)xamlReader.Value, frames.CurrentFrame.Instance);