1 write to OwnerTemplate
PresentationFramework (1)
System\Windows\FrameworkTemplate.cs (1)
202value.OwnerTemplate = this;
29 references to OwnerTemplate
PresentationFramework (29)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
229type = tempContent.OwnerTemplate.TargetTypeInternal;
System\Windows\TemplateContent.cs (28)
241OwnerTemplate.StyleConnector = TemplateLoadData.RootObject as IStyleConnector; 250if (OwnerTemplate is ItemsPanelTemplate) 282StyleHelper.UpdateTables(ref value, ref OwnerTemplate.ChildRecordFromChildIndex, ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 283ref OwnerTemplate.ResourceDependents, ref OwnerTemplate._dataTriggerRecordFromBinding, OwnerTemplate.ChildIndexFromChildName, ref OwnerTemplate._hasInstanceValues); 312int lastIndex = OwnerTemplate.LastChildIndex; 316int childIndex = StyleHelper.CreateChildIndexFromChildName(name, OwnerTemplate); 318OwnerTemplate.ChildNames.Add(name); 319OwnerTemplate.ChildTypeFromChildIndex.Add(childIndex, type.UnderlyingType); 509OwnerTemplate.TargetTypeInternal, 512ref OwnerTemplate.ChildRecordFromChildIndex, 513ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 514ref OwnerTemplate.ResourceDependents, 515ref OwnerTemplate._dataTriggerRecordFromBinding, 516ref OwnerTemplate._hasInstanceValues, 517OwnerTemplate.ChildIndexFromChildName, 530OwnerTemplate.TargetTypeInternal, 533ref OwnerTemplate.ChildRecordFromChildIndex, 534ref OwnerTemplate.TriggerSourceRecordFromChildIndex, 535ref OwnerTemplate.ResourceDependents, 536ref OwnerTemplate._dataTriggerRecordFromBinding, 537ref OwnerTemplate._hasInstanceValues, 538OwnerTemplate.ChildIndexFromChildName, 990if (OwnerTemplate.StyleConnector != null) 992OwnerTemplate.StyleConnector.Connect((int)xamlReader.Value, frames.CurrentFrame.Instance);