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