1 write to Type
PresentationFramework (1)
src\Framework\System\Windows\TemplateContent.cs (1)
132
CurrentFrame.
Type
= xamlType;
43 references to Type
PresentationFramework (43)
src\Framework\System\Windows\TemplateContent.cs (43)
100
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)
496
stack.CurrentFrame.
Type
!= null &&
501
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
502
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
506
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
524
stack.CurrentFrame.
Type
!= null &&
529
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
530
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
534
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
554
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
555
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
559
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
571
if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
592
if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
621
if (typeof(GridViewRowPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
628
else if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
657
stack.CurrentFrame.
Type
,
684
IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
686
IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
717
if (FrameworkTemplate.IsNameProperty(stack.CurrentFrame.Property, stack.CurrentFrame.
Type
))
732
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
733
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
735
TemplateLoadData.NamedTypes.Add(name, stack.CurrentFrame.
Type
);
738
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
743
if (typeof(ContentPresenter).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType)
795
if (stack.Depth > 0 && stack.CurrentFrame.NameSet == false && stack.CurrentFrame.
Type
!= null && !stack.CurrentFrame.IsInNameScope)
798
if (typeof(FrameworkElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType) ||
799
typeof(FrameworkContentElement).IsAssignableFrom(stack.CurrentFrame.
Type
.UnderlyingType))
803
UpdateSharedPropertyNames(name, sharedProperties, stack.CurrentFrame.
Type
);
1037
if (!(insideStyle || insideTemplate) && FrameworkTemplate.IsNameProperty(xamlReader.Member, frames.CurrentFrame.
Type
))