3 types derived from FrameworkTemplate
PresentationFramework (3)
System\Windows\Controls\ItemsPanelTemplate.cs (1)
16public class ItemsPanelTemplate : FrameworkTemplate
System\Windows\ControlTemplate.cs (1)
29public class ControlTemplate : FrameworkTemplate
System\Windows\DataTemplate.cs (1)
22public class DataTemplate : FrameworkTemplate
161 references to FrameworkTemplate
PresentationFramework (161)
MS\Internal\FrameworkObject.cs (1)
202internal FrameworkTemplate TemplateInternal
MS\Internal\Helper.cs (1)
390(template is FrameworkTemplate ||
System\Windows\BroadcastEventHelper.cs (1)
509FrameworkTemplate templatedParentTemplate = fo.FE.TemplateInternal;
System\Windows\Controls\ComboBox.cs (2)
1658internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\ContentPresenter.cs (6)
563internal override FrameworkTemplate TemplateInternal 569internal override FrameworkTemplate TemplateCache 804internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 813StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\Control.cs (6)
417internal override FrameworkTemplate TemplateInternal 423internal override FrameworkTemplate TemplateCache 430internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 439StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\GroupItem.cs (2)
89internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate,FrameworkTemplate newTemplate)
System\Windows\Controls\ItemsControl.cs (2)
1709internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\ItemsPresenter.cs (6)
97internal override FrameworkTemplate TemplateInternal 103internal override FrameworkTemplate TemplateCache 133internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 142StyleHelper.UpdateTemplateCache(ip, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\Page.cs (6)
509internal override FrameworkTemplate TemplateInternal 515internal override FrameworkTemplate TemplateCache 522internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 531StyleHelper.UpdateTemplateCache(p, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
System\Windows\Controls\SoundPlayerAction.cs (1)
119FrameworkTemplate targetTemplate,
System\Windows\Controls\ToolBar.cs (2)
498internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
System\Windows\Controls\TreeViewItem.cs (1)
816FrameworkTemplate template = TemplateInternal;
System\Windows\FrameworkContentElement.cs (2)
640FrameworkTemplate frameworkTemplate = null; 719FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal;
System\Windows\FrameworkElement.cs (12)
274internal virtual FrameworkTemplate TemplateInternal 282internal virtual FrameworkTemplate TemplateCache 291FrameworkTemplate oldTemplate, 292FrameworkTemplate newTemplate) 345FrameworkTemplate template = TemplateInternal; 794FrameworkTemplate template = TemplateInternal; 1162FrameworkTemplate frameworkTemplate; 1925FrameworkTemplate frameworkTemplate = null; 2091FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal; 2330FrameworkTemplate templatedParentTemplate = null; 2981FrameworkTemplate selfFrameworkTemplate = null; 3016FrameworkTemplate templatedParentTemplate = null;
System\Windows\FrameworkElementFactory.cs (4)
501internal FrameworkTemplate FrameworkTemplate 527internal void Seal(FrameworkTemplate ownerTemplate) 938FrameworkTemplate.SetTemplateParentValues( Name, frameworkObject.DO, _frameworkTemplate, ref provideValueServiceProvider ); 1274private FrameworkTemplate _frameworkTemplate;
System\Windows\FrameworkTemplate.cs (1)
1204FrameworkTemplate frameworkTemplate,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
325case 231: t = () => typeof(FrameworkTemplate); break;
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
683= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4913Type type = typeof(System.Windows.FrameworkTemplate); 4915this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 4922SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 4923GetDelegate = delegate (object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; } 6844Type type = typeof(System.Windows.FrameworkTemplate); 6846this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 6855SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkTemplate)target).Template = (System.Windows.TemplateContent)value; }, 6856GetDelegate = delegate (object target) { return ((System.Windows.FrameworkTemplate)target).Template; } 7400Type type = typeof(System.Windows.FrameworkTemplate); 7402this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 7410SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkTemplate)target).Resources = (System.Windows.ResourceDictionary)value; }, 7411GetDelegate = delegate (object target) { return ((System.Windows.FrameworkTemplate)target).Resources; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4999typeof(System.Windows.FrameworkTemplate),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
372= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\BamlRecordReader.cs (2)
4110FrameworkTemplate frameworkTemplate = (FrameworkTemplate)stackData.ObjectData;
System\Windows\Markup\DependencyPropertyConverter.cs (2)
185XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 245XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
System\Windows\Markup\KnownTypes.cs (1)
5779case KnownElements.FrameworkTemplate: t = typeof(System.Windows.FrameworkTemplate); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
828Context.Instance is FrameworkTemplate 830(Context.Instance as FrameworkTemplate).HasContent ) 836value = (Context.Instance as FrameworkTemplate).LoadContent();
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
873typeof(FrameworkTemplate).IsAssignableFrom(descriptor.ComponentType) &&
System\Windows\Media\Animation\BeginStoryboard.cs (1)
175internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (1)
58internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\Storyboard.cs (5)
254namedObject = ((FrameworkTemplate)nameScope).FindName(targetName, fe); 1098public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate ) 1106public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, HandoffBehavior handoffBehavior ) 1114public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, bool isControllable ) 1122public void Begin( FrameworkElement containingObject, FrameworkTemplate frameworkTemplate, HandoffBehavior handoffBehavior, bool isControllable )
System\Windows\StaticResourceExtension.cs (1)
215XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
System\Windows\StyleHelper.cs (55)
278FrameworkTemplate oldTemplate, 279FrameworkTemplate newTemplate, 330FrameworkTemplate frameworkTemplate, 897FrameworkTemplate frameworkTemplate, 1066FrameworkTemplate frameworkTemplate, 1197FrameworkTemplate.TemplateChildLoadedFlags templateChildLoadedFlags 1198= frameworkTemplate._TemplateChildLoadedDictionary[ eventTrigger.TriggerChildIndex ] as FrameworkTemplate.TemplateChildLoadedFlags; 1202templateChildLoadedFlags = new FrameworkTemplate.TemplateChildLoadedFlags(); 1337FrameworkTemplate oldFrameworkTemplate, 1338FrameworkTemplate newFrameworkTemplate, 1371FrameworkTemplate newFrameworkTemplate ) 1434FrameworkTemplate oldFrameworkTemplate, 1671FrameworkTemplate oldFrameworkTemplate) 1771FrameworkTemplate frameworkTemplate) 2045FrameworkTemplate frameworkTemplate) 2132FrameworkTemplate oldFrameworkTemplate) 2218FrameworkTemplate oldFrameworkTemplate) 2406FrameworkTemplate selfFrameworkTemplate = null; 2481FrameworkTemplate templatedParentTemplate = null; 2503FrameworkTemplate frameworkTemplate, 3026FrameworkTemplate frameworkTemplate, 3041FrameworkTemplate frameworkTemplate, 3307FrameworkTemplate oldFrameworkTemplate) 3313FrameworkTemplate newFrameworkTemplate = null; 3496Debug.Assert( oldTemplate == null || oldTemplate is FrameworkTemplate, 3498Debug.Assert( newTemplate == null || newTemplate is FrameworkTemplate, 3501(oldTemplate is FrameworkTemplate && newTemplate is FrameworkTemplate), 3576if( template is FrameworkTemplate ) 3578resources = ((FrameworkTemplate)template)._resources; 3617FrameworkTemplate oldFrameworkTemplate, FrameworkTemplate newFrameworkTemplate) 3729FrameworkTemplate 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)
120isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 123(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 145isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 148(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 651if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.Type)) 919if (typeof(FrameworkTemplate).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 971if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.Type)) 1180typeof(FrameworkTemplate).IsAssignableFrom(type) 1397internal FrameworkTemplate OwnerTemplate { get; set; }
System\Windows\TemplateNameScope.cs (5)
49FrameworkTemplate frameworkTemplate ) 168FrameworkTemplate.TemplateChildLoadedFlags templateChildLoadedFlags 169= templateChildLoadedDictionary[ childIndex ] as FrameworkTemplate.TemplateChildLoadedFlags; 247FrameworkTemplate.SetTemplateParentValues( name, element, _frameworkTemplate, ref _provideValueServiceProvider ); 267private FrameworkTemplate _frameworkTemplate;
System\Windows\TreeWalkHelper.cs (2)
800FrameworkTemplate parentTemplate = templatedParent.TemplateInternal; 868FrameworkTemplate parentTemplate = templatedParent.TemplateInternal;
System\Windows\TriggerAction.cs (1)
45FrameworkTemplate targetTemplate,