1 write to OwnerTemplate
PresentationFramework (1)
src\Framework\System\Windows\FrameworkTemplate.cs (1)
202value.OwnerTemplate = this;
28 references to OwnerTemplate
PresentationFramework (28)
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (1)
237type = tempContent.OwnerTemplate.TargetTypeInternal;
src\Framework\System\Windows\TemplateContent.cs (27)
252OwnerTemplate.StyleConnector = TemplateLoadData.RootObject as IStyleConnector; 261if (OwnerTemplate is ItemsPanelTemplate) 293StyleHelper.UpdateTables(ref value, ref OwnerTemplate.ChildRecordFromChildIndex, ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 294ref OwnerTemplate.ResourceDependents, ref OwnerTemplate._dataTriggerRecordFromBinding, OwnerTemplate.ChildIndexFromChildName, ref OwnerTemplate._hasInstanceValues); 353int childIndex = StyleHelper.CreateChildIndexFromChildName(name, OwnerTemplate); 355OwnerTemplate.ChildNames.Add(name); 356OwnerTemplate.ChildTypeFromChildIndex.Add(childIndex, type.UnderlyingType); 574OwnerTemplate.TargetTypeInternal, 577ref OwnerTemplate.ChildRecordFromChildIndex, 578ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 579ref OwnerTemplate.ResourceDependents, 580ref OwnerTemplate._dataTriggerRecordFromBinding, 581ref OwnerTemplate._hasInstanceValues, 582OwnerTemplate.ChildIndexFromChildName, 595OwnerTemplate.TargetTypeInternal, 598ref OwnerTemplate.ChildRecordFromChildIndex, 599ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 600ref OwnerTemplate.ResourceDependents, 601ref OwnerTemplate._dataTriggerRecordFromBinding, 602ref OwnerTemplate._hasInstanceValues, 603OwnerTemplate.ChildIndexFromChildName, 1055if (OwnerTemplate.StyleConnector != null) 1057OwnerTemplate.StyleConnector.Connect((int)xamlReader.Value, frames.CurrentFrame.Instance);