1 write to Type
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
132CurrentFrame.Type = xamlType;
43 references to Type
PresentationFramework (43)
System\Windows\TemplateContent.cs (43)
101string type = (this.Type == null) ? String.Empty : this.Type.Name; 120isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 122(CurrentFrame.Type != null && 123(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 124typeof(Style).IsAssignableFrom(CurrentFrame.Type.UnderlyingType))); 127if (Depth == 0 || CurrentFrame.Type != null) 145isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.Type != null && FrameworkTemplate.IsNameScope(CurrentFrame.Type)); 147(CurrentFrame.Type != null && 148(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.Type.UnderlyingType) || 149typeof(Style).IsAssignableFrom(CurrentFrame.Type.UnderlyingType))); 152if (Depth == 0 || CurrentFrame.Type != null) 430stack.CurrentFrame.Type != null && 435if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 436typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 440UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.Type); 458stack.CurrentFrame.Type != null && 463if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 464typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 468UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.Type); 488if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 489typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 493UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.Type); 505if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 526if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 555if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 562else if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 591stack.CurrentFrame.Type, 618IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 620IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 651if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.Type)) 666if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 667typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 669TemplateLoadData.NamedTypes.Add(name, stack.CurrentFrame.Type); 672UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.Type); 677if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) 729if (stack.Depth > 0 && stack.CurrentFrame.NameSet == false && stack.CurrentFrame.Type != null && !stack.CurrentFrame.IsInNameScope) 732if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType) || 733typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType)) 737UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.Type); 971if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.Type))