1 write to Type
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
135
CurrentFrame.
Type
= xamlType;
43 references to Type
PresentationFramework (43)
System\Windows\TemplateContent.cs (43)
104
string type = (this.
Type
== null) ? String.Empty : this.
Type
.Name;
123
isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.
Type
!= null && FrameworkTemplate.IsNameScope(CurrentFrame.
Type
));
125
(CurrentFrame.
Type
!= null &&
126
(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.
Type
.UnderlyingType) ||
127
typeof(Style).IsAssignableFrom(CurrentFrame.
Type
.UnderlyingType)));
130
if (Depth == 0 || CurrentFrame.
Type
!= null)
148
isInNameScope = CurrentFrame.IsInNameScope || (CurrentFrame.
Type
!= null && FrameworkTemplate.IsNameScope(CurrentFrame.
Type
));
150
(CurrentFrame.
Type
!= null &&
151
(typeof(FrameworkTemplate).IsAssignableFrom(CurrentFrame.
Type
.UnderlyingType) ||
152
typeof(Style).IsAssignableFrom(CurrentFrame.
Type
.UnderlyingType)));
155
if (Depth == 0 || CurrentFrame.
Type
!= null)
431
stack.CurrentFrame.
Type
!= null &&
436
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
437
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
441
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
459
stack.CurrentFrame.
Type
!= null &&
464
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
465
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
469
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
489
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
490
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
494
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
506
if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
527
if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
556
if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
563
else if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
592
stack.CurrentFrame.
Type
,
619
IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
621
IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
652
if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.
Type
))
667
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
668
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
670
TemplateLoadData.NamedTypes.Add(name, stack.CurrentFrame.
Type
);
673
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
678
if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType)
730
if (stack.Depth > 0 && stack.CurrentFrame.NameSet == false && stack.CurrentFrame.
Type
!= null && !stack.CurrentFrame.IsInNameScope)
733
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
734
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
738
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
972
if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.
Type
))