3 types derived from FrameworkTemplate
PresentationFramework (3)
src\Framework\System\Windows\Controls\ItemsPanelTemplate.cs (1)
25public class ItemsPanelTemplate : FrameworkTemplate
src\Framework\System\Windows\ControlTemplate.cs (1)
32public class ControlTemplate : FrameworkTemplate
src\Framework\System\Windows\DataTemplate.cs (1)
23public class DataTemplate : FrameworkTemplate
159 references to FrameworkTemplate
PresentationFramework (159)
src\Framework\MS\Internal\FrameworkObject.cs (1)
233internal FrameworkTemplate TemplateInternal
src\Framework\MS\Internal\Helper.cs (1)
408(template is FrameworkTemplate ||
src\Framework\System\Windows\BroadcastEventHelper.cs (1)
513FrameworkTemplate templatedParentTemplate = fo.FE.TemplateInternal;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1665internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
src\Framework\System\Windows\Controls\ContentPresenter.cs (6)
572internal override FrameworkTemplate TemplateInternal 578internal override FrameworkTemplate TemplateCache 801internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 810StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
src\Framework\System\Windows\Controls\Control.cs (6)
427internal override FrameworkTemplate TemplateInternal 433internal override FrameworkTemplate TemplateCache 440internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 449StyleHelper.UpdateTemplateCache(c, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
src\Framework\System\Windows\Controls\GroupItem.cs (2)
99internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate,FrameworkTemplate newTemplate)
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
1721internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
src\Framework\System\Windows\Controls\ItemsPresenter.cs (6)
103internal override FrameworkTemplate TemplateInternal 109internal override FrameworkTemplate TemplateCache 139internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 148StyleHelper.UpdateTemplateCache(ip, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
src\Framework\System\Windows\Controls\Page.cs (6)
537internal override FrameworkTemplate TemplateInternal 543internal override FrameworkTemplate TemplateCache 550internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate) 559StyleHelper.UpdateTemplateCache(p, (FrameworkTemplate) e.OldValue, (FrameworkTemplate) e.NewValue, TemplateProperty);
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
133FrameworkTemplate targetTemplate,
src\Framework\System\Windows\Controls\ToolBar.cs (2)
517internal override void OnTemplateChangedInternal(FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate)
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
821FrameworkTemplate template = TemplateInternal;
src\Framework\System\Windows\FrameworkContentElement.cs (2)
667FrameworkTemplate frameworkTemplate = null; 744FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal;
src\Framework\System\Windows\FrameworkElement.cs (12)
289internal virtual FrameworkTemplate TemplateInternal 297internal virtual FrameworkTemplate TemplateCache 306FrameworkTemplate oldTemplate, 307FrameworkTemplate newTemplate) 360FrameworkTemplate template = TemplateInternal; 805FrameworkTemplate template = TemplateInternal; 1179FrameworkTemplate frameworkTemplate; 1942FrameworkTemplate frameworkTemplate = null; 2106FrameworkTemplate frameworkTemplate = feTemplatedParent.TemplateInternal; 2343FrameworkTemplate templatedParentTemplate = null; 2995FrameworkTemplate selfFrameworkTemplate = null; 3030FrameworkTemplate templatedParentTemplate = null;
src\Framework\System\Windows\FrameworkElementFactory.cs (4)
534internal FrameworkTemplate FrameworkTemplate 559internal void Seal(FrameworkTemplate ownerTemplate) 972FrameworkTemplate.SetTemplateParentValues( Name, frameworkObject.DO, _frameworkTemplate, ref provideValueServiceProvider ); 1307private FrameworkTemplate _frameworkTemplate;
src\Framework\System\Windows\FrameworkTemplate.cs (1)
1233FrameworkTemplate frameworkTemplate,
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
323case 231: t = () => typeof(FrameworkTemplate); break;
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
702= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4616Type type = typeof(System.Windows.FrameworkTemplate); 4618this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 4624bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4625bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; }; 6336Type type = typeof(System.Windows.FrameworkTemplate); 6338this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 6346bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).Template = (System.Windows.TemplateContent)value; }; 6347bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).Template; }; 6838Type type = typeof(System.Windows.FrameworkTemplate); 6840this.GetXamlType(typeof(System.Windows.FrameworkTemplate)), // DeclaringType 6847bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).Resources = (System.Windows.ResourceDictionary)value; }; 6848bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).Resources; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4605typeof(System.Windows.FrameworkTemplate),
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
382= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
4163FrameworkTemplate frameworkTemplate = (FrameworkTemplate)stackData.ObjectData;
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (2)
202XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 262XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5775case KnownElements.FrameworkTemplate: t = typeof(System.Windows.FrameworkTemplate); break;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
855Context.Instance is FrameworkTemplate 857(Context.Instance as FrameworkTemplate).HasContent ) 864value = (Context.Instance as FrameworkTemplate).LoadContent();
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
892typeof(FrameworkTemplate).IsAssignableFrom(descriptor.ComponentType) &&
src\Framework\System\Windows\Media\Animation\BeginStoryboard.cs (1)
177internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
src\Framework\System\Windows\Media\Animation\ControllableStoryboardAction.cs (1)
59internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
src\Framework\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 )
src\Framework\System\Windows\StaticResourceExtension.cs (1)
228XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
src\Framework\System\Windows\StyleHelper.cs (53)
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, 3310FrameworkTemplate oldFrameworkTemplate) 3316FrameworkTemplate newFrameworkTemplate = null; 3499Debug.Assert( oldTemplate == null || oldTemplate is FrameworkTemplate, 3501Debug.Assert( newTemplate == null || newTemplate is FrameworkTemplate, 3504(oldTemplate is FrameworkTemplate && newTemplate is FrameworkTemplate), 3579if( template is FrameworkTemplate ) 3581resources = ((FrameworkTemplate)template)._resources; 3620FrameworkTemplate oldFrameworkTemplate, FrameworkTemplate newFrameworkTemplate) 3730FrameworkTemplate frameworkTemplate = foContainer.TemplateInternal; 3917FrameworkTemplate template = fo.TemplateInternal; 4135FrameworkTemplate parentTemplate) 4301FrameworkTemplate 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, 5314FrameworkTemplate frameworkTemplate) 5390FrameworkTemplate frameworkTemplate)
src\Framework\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) || 717if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.Type)) 985if (typeof(FrameworkTemplate).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 1037if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.Type)) 1244typeof(FrameworkTemplate).IsAssignableFrom(type) 1448internal FrameworkTemplate OwnerTemplate { get; set; }
src\Framework\System\Windows\TemplateNameScope.cs (5)
52FrameworkTemplate frameworkTemplate ) 171FrameworkTemplate.TemplateChildLoadedFlags templateChildLoadedFlags 172= templateChildLoadedDictionary[ childIndex ] as FrameworkTemplate.TemplateChildLoadedFlags; 250FrameworkTemplate.SetTemplateParentValues( name, element, _frameworkTemplate, ref _provideValueServiceProvider ); 270private FrameworkTemplate _frameworkTemplate;
src\Framework\System\Windows\TreeWalkHelper.cs (2)
799FrameworkTemplate parentTemplate = templatedParent.TemplateInternal; 867FrameworkTemplate parentTemplate = templatedParent.TemplateInternal;
src\Framework\System\Windows\TriggerAction.cs (1)
45FrameworkTemplate targetTemplate,