3 types derived from FrameworkTemplate
PresentationFramework (3)
System\Windows\Controls\ItemsPanelTemplate.cs (1)
21public class ItemsPanelTemplate : FrameworkTemplate
System\Windows\ControlTemplate.cs (1)
32public class ControlTemplate : FrameworkTemplate
System\Windows\DataTemplate.cs (1)
22public class DataTemplate : FrameworkTemplate
161 references to FrameworkTemplate
PresentationFramework (161)
MS\Internal\FrameworkObject.cs (1)
205internal FrameworkTemplate TemplateInternal
MS\Internal\Helper.cs (1)
399(template is FrameworkTemplate ||
System\Windows\BroadcastEventHelper.cs (1)
515FrameworkTemplate templatedParentTemplate = fo.FE.TemplateInternal;
System\Windows\Controls\ComboBox.cs (2)
1662internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\ContentPresenter.cs (6)
570internal override FrameworkTemplate TemplateInternal 576internal override FrameworkTemplate TemplateCache 799internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 808StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\Control.cs (6)
426internal override FrameworkTemplate TemplateInternal 432internal override FrameworkTemplate TemplateCache 439internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 448StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\GroupItem.cs (2)
97internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate,FrameworkTemplate newTemplate)
System\Windows\Controls\ItemsControl.cs (2)
1718internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\ItemsPresenter.cs (6)
101internal override FrameworkTemplate TemplateInternal 107internal override FrameworkTemplate TemplateCache 137internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 146StyleHelper.UpdateTemplateCache(ip, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\Page.cs (6)
529internal override FrameworkTemplate TemplateInternal 535internal override FrameworkTemplate TemplateCache 542internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 551StyleHelper.UpdateTemplateCache(p, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\SoundPlayerAction.cs (1)
132FrameworkTemplate targetTemplate,
System\Windows\Controls\ToolBar.cs (2)
507internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\TreeViewItem.cs (1)
820FrameworkTemplate template = TemplateInternal;
System\Windows\FrameworkContentElement.cs (2)
661FrameworkTemplate frameworkTemplate = null; 738FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal;
System\Windows\FrameworkElement.cs (12)
292internal virtual FrameworkTemplate TemplateInternal 300internal virtual FrameworkTemplate TemplateCache 309FrameworkTemplate oldTemplate, 310FrameworkTemplate newTemplate) 363FrameworkTemplate template = TemplateInternal; 812FrameworkTemplate template = TemplateInternal; 1180FrameworkTemplate frameworkTemplate; 1943FrameworkTemplate frameworkTemplate = null; 2107FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal; 2346FrameworkTemplate templatedParentTemplate = null; 2997FrameworkTemplate selfFrameworkTemplate = null; 3032FrameworkTemplate templatedParentTemplate = null;
System\Windows\FrameworkElementFactory.cs (4)
511internal FrameworkTemplate FrameworkTemplate 537internal void Seal(FrameworkTemplate ownerTemplate) 948FrameworkTemplate.SetTemplateParentValues( Name, frameworkObject.DO, _frameworkTemplate, ref provideValueServiceProvider ); 1284private FrameworkTemplate _frameworkTemplate;
System\Windows\FrameworkTemplate.cs (1)
1208FrameworkTemplate frameworkTemplate,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
327case 231: t = () => typeof(FrameworkTemplate); break;
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
694= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4641Type type = typeof(System.Windows.FrameworkTemplate); 4643this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 4649bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4650bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; }; 6378Type type = typeof(System.Windows.FrameworkTemplate); 6380this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 6388bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).Template = (System.Windows.TemplateContent)value; }; 6389bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).Template; }; 6880Type type = typeof(System.Windows.FrameworkTemplate); 6882this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 6889bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).Resources = (System.Windows.ResourceDictionary)value; }; 6890bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).Resources; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4609typeof(System.Windows.FrameworkTemplate),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
377= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\BamlRecordReader.cs (2)
4122FrameworkTemplate frameworkTemplate = (FrameworkTemplate)stackData.ObjectData;
System\Windows\Markup\DependencyPropertyConverter.cs (2)
194XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 254XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
System\Windows\Markup\KnownTypes.cs (1)
5785case KnownElements.FrameworkTemplate: t = typeof(System.Windows.FrameworkTemplate); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
839Context.Instance is FrameworkTemplate 841(Context.Instance as FrameworkTemplate).HasContent ) 847value = (Context.Instance as FrameworkTemplate).LoadContent();
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
878typeof(FrameworkTemplate).IsAssignableFrom(descriptor.ComponentType) &&
System\Windows\Media\Animation\BeginStoryboard.cs (1)
178internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (1)
61internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\Storyboard.cs (5)
255namedObject = ((FrameworkTemplate)nameScope).FindName(targetName, fe); 1099public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate ) 1107public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, HandoffBehavior handoffBehavior ) 1115public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, bool isControllable ) 1123public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, HandoffBehavior handoffBehavior, bool isControllable )
System\Windows\StaticResourceExtension.cs (1)
223XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
System\Windows\StyleHelper.cs (55)
292FrameworkTemplate oldTemplate, 293FrameworkTemplate newTemplate, 344FrameworkTemplate frameworkTemplate, 901FrameworkTemplate frameworkTemplate, 1070FrameworkTemplate frameworkTemplate, 1201FrameworkTemplate.TemplateChildLoadedFlags templateChildLoadedFlags 1202= frameworkTemplate._TemplateChildLoadedDictionary[ eventTrigger.TriggerChildIndex ] as FrameworkTemplate.TemplateChildLoadedFlags; 1206templateChildLoadedFlags = new FrameworkTemplate.TemplateChildLoadedFlags(); 1341FrameworkTemplate oldFrameworkTemplate, 1342FrameworkTemplate newFrameworkTemplate, 1375FrameworkTemplate newFrameworkTemplate ) 1438FrameworkTemplate oldFrameworkTemplate, 1675FrameworkTemplate oldFrameworkTemplate) 1775FrameworkTemplate frameworkTemplate) 2049FrameworkTemplate frameworkTemplate) 2136FrameworkTemplate oldFrameworkTemplate) 2222FrameworkTemplate oldFrameworkTemplate) 2410FrameworkTemplate selfFrameworkTemplate = null; 2485FrameworkTemplate templatedParentTemplate = null; 2507FrameworkTemplate frameworkTemplate, 3030FrameworkTemplate frameworkTemplate, 3045FrameworkTemplate frameworkTemplate, 3311FrameworkTemplate oldFrameworkTemplate) 3317FrameworkTemplate newFrameworkTemplate = null; 3500Debug.Assert( oldTemplate == null || oldTemplate is FrameworkTemplate, 3502Debug.Assert( newTemplate == null || newTemplate is FrameworkTemplate, 3505(oldTemplate is FrameworkTemplate && newTemplate is FrameworkTemplate), 3580if( template is FrameworkTemplate ) 3582resources = ((FrameworkTemplate)template)._resources; 3621FrameworkTemplate oldFrameworkTemplate, FrameworkTemplate newFrameworkTemplate) 3731FrameworkTemplate frameworkTemplate = foContainer.TemplateInternal; 3918FrameworkTemplate template = fo.TemplateInternal; 4136FrameworkTemplate parentTemplate) 4302FrameworkTemplate frameworkTemplate, 4376FrameworkTemplate frameworkTemplate, 4436Style style, FrameworkTemplate frameworkTemplate, 4474Style style, FrameworkTemplate frameworkTemplate ) 4538FrameworkTemplate ft ) 4564Style style, FrameworkTemplate ft, UncommonField<HybridDictionary[]> dataField ) 4652Style style, FrameworkTemplate frameworkTemplate) 4682Style style, FrameworkTemplate frameworkTemplate ) 4710FrameworkTemplate frameworkTemplate) 4758Style style, FrameworkTemplate frameworkTemplate) 4800FrameworkTemplate frameworkTemplate ) 4826Style style, FrameworkTemplate frameworkTemplate) 4844int sourceChildIndex, Style style, FrameworkTemplate frameworkTemplate, 4889Style style, FrameworkTemplate frameworkTemplate, 4911int sourceChildIndex, Style style, FrameworkTemplate frameworkTemplate, 4984Style style, FrameworkTemplate frameworkTemplate, 5179FrameworkTemplate ft = fe.TemplateInternal; 5246FrameworkTemplate frameworkTemplate, 5313FrameworkTemplate frameworkTemplate) 5389FrameworkTemplate frameworkTemplate)
System\Windows\TemplateContent.cs (9)
123isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 126(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 148isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 151(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 652if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.Type)) 920if (typeof(FrameworkTemplate).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 972if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.Type)) 1179typeof(FrameworkTemplate).IsAssignableFrom(type) 1384internal FrameworkTemplate OwnerTemplate { get; set; }
System\Windows\TemplateNameScope.cs (5)
53FrameworkTemplate frameworkTemplate ) 172FrameworkTemplate.TemplateChildLoadedFlags templateChildLoadedFlags 173= templateChildLoadedDictionary[ childIndex ] as FrameworkTemplate.TemplateChildLoadedFlags; 251FrameworkTemplate.SetTemplateParentValues( name, element, _frameworkTemplate, ref _provideValueServiceProvider ); 271private FrameworkTemplate _frameworkTemplate;
System\Windows\TreeWalkHelper.cs (2)
804FrameworkTemplate parentTemplate = templatedParent.TemplateInternal; 872FrameworkTemplate parentTemplate = templatedParent.TemplateInternal;
System\Windows\TriggerAction.cs (1)
46FrameworkTemplate targetTemplate,