37 references to ElementType
PresentationBuildTasks (37)
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (2)
60
classFullName = _compiler.StartElement(ref _class, _subClass, ref _classModifier, xamlObjectNode.
ElementType
, string.Empty);
108
Type rootType = isRootPublic ? xamlObjectNode.
ElementType
: typeof(ParserExtension);
Framework\System\Windows\Markup\BamlRecordWriter.cs (12)
285
xamlElementNode.
ElementType
,
308
else if (CollectingValues && KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == xamlElementNode.
ElementType
)
322
else if (CollectingValues && KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.
ElementType
)
358
if (typeof(String).IsAssignableFrom(xamlElementNode.
ElementType
) ||
359
KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.
ElementType
) ||
360
KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.
ElementType
))
379
else if (_deferLoadingSupport && KnownTypes.Types[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.
ElementType
))
802
if (!typeof(String).IsAssignableFrom(xamlKeyElementNode.
ElementType
) &&
803
!KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.
ElementType
) &&
804
!KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.
ElementType
) &&
805
!KnownTypes.Types[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.
ElementType
))
834
xamlKeyElementNode.
ElementType
,
Framework\System\Windows\Markup\StyleXamlParser.cs (10)
647
if (KnownTypes.Types[(int)KnownElements.SetterBase].IsAssignableFrom(xamlElementStartNode.
ElementType
))
652
xamlElementStartNode.
ElementType
.Name,
663
xamlElementStartNode.
ElementType
.Name,
669
(xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.Trigger] ||
670
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.MultiTrigger] ||
671
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.DataTrigger] ||
672
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.MultiDataTrigger] ||
673
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.EventTrigger]))
678
(KnownTypes.Types[(int)KnownElements.SetterBase].IsAssignableFrom(xamlElementStartNode.
ElementType
)))
708
if (xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.EventSetter])
Framework\System\Windows\Markup\TemplateXamlParser.cs (12)
664
if (KnownTypes.Types[(int)KnownElements.ControlTemplate].IsAssignableFrom(xamlElementStartNode.
ElementType
))
668
else if (KnownTypes.Types[(int)KnownElements.DataTemplate].IsAssignableFrom(xamlElementStartNode.
ElementType
))
674
if (xamlElementStartNode.
ElementType
== ItemContainerTemplateType)
684
else if (KnownTypes.Types[(int)KnownElements.ItemsPanelTemplate].IsAssignableFrom(xamlElementStartNode.
ElementType
))
694
_elementTypeStack.Push(xamlElementStartNode.
ElementType
);
697
CommonElementStartProcessing(xamlElementStartNode, xamlElementStartNode.
ElementType
, ref mode);
706
(xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.Trigger] ||
707
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.MultiTrigger] ||
708
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.DataTrigger] ||
709
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.MultiDataTrigger] ||
710
xamlElementStartNode.
ElementType
== KnownTypes.Types[(int)KnownElements.EventTrigger]))
715
(KnownTypes.Types[(int)KnownElements.SetterBase].IsAssignableFrom(xamlElementStartNode.
ElementType
)))
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
6411
Type typeRightTag = elementNode.
ElementType
;