1 write to OwnerTemplate
PresentationFramework (1)
System\Windows\FrameworkTemplate.cs (1)
192value.OwnerTemplate = this;
28 references to OwnerTemplate
PresentationFramework (28)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
219type = tempContent.OwnerTemplate.TargetTypeInternal;
System\Windows\TemplateContent.cs (27)
237OwnerTemplate.StyleConnector = TemplateLoadData.RootObject as IStyleConnector; 246if (OwnerTemplate is ItemsPanelTemplate) 280StyleHelper.UpdateTables(ref value, ref OwnerTemplate.ChildRecordFromChildIndex, ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 281ref OwnerTemplate.ResourceDependents, ref OwnerTemplate._dataTriggerRecordFromBinding, OwnerTemplate.ChildIndexFromChildName, ref OwnerTemplate._hasInstanceValues); 310int lastIndex = OwnerTemplate.LastChildIndex; 314int childIndex = StyleHelper.CreateChildIndexFromChildName(name, OwnerTemplate); 316OwnerTemplate.ChildNames.Add(name); 317OwnerTemplate.ChildTypeFromChildIndex.Add(childIndex, type.UnderlyingType); 504OwnerTemplate.TargetTypeInternal, 507ref OwnerTemplate.ChildRecordFromChildIndex, 508ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 509ref OwnerTemplate.ResourceDependents, 510ref OwnerTemplate._dataTriggerRecordFromBinding, 511ref OwnerTemplate._hasInstanceValues, 512OwnerTemplate.ChildIndexFromChildName, 525OwnerTemplate.TargetTypeInternal, 528ref OwnerTemplate.ChildRecordFromChildIndex, 529ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 530ref OwnerTemplate.ResourceDependents, 531ref OwnerTemplate._dataTriggerRecordFromBinding, 532ref OwnerTemplate._hasInstanceValues, 533OwnerTemplate.ChildIndexFromChildName, 983OwnerTemplate.StyleConnector?.Connect((int)xamlReader.Value, frames.CurrentFrame.Instance);