Initial WPF content migrated (#17)

* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
This commit is contained in:
Andy De George
2020-09-04 09:46:28 -07:00
committed by GitHub
parent dba50d6bf1
commit da363692ff
8215 changed files with 508408 additions and 11 deletions
@@ -0,0 +1,31 @@
---
title: Element (XElement dynamic property)
ms.date: 10/22/2019
ms.topic: reference
apiname:
- "XElement.Element"
apitype: "Assembly"
---
# Element (XElement dynamic property)
Gets an indexer used to retrieve the child element instance that corresponds to the specified expanded name.
## Syntax
```xaml
elem.Element[{namespaceName}localName]
```
## Property value/return value
An indexer of the type `XElement Item(String expandedName)`. This indexer takes an expanded name parameter and returns the corresponding <xref:System.Xml.Linq.XElement>, or `null` if there is no element with the specified name.
## Remarks
This property is equivalent to <xref:System.Xml.Linq.XContainer.Element%2A> method of the <xref:System.Xml.Linq.XContainer?displayProperty=fullName> class.
## See also
- <xref:System.Xml.Linq.XContainer.Element%2A?displayProperty=fullName>
- [XElement class dynamic properties](attribute-xelement-dynamic-property.md)
- [Elements](elements-xelement-dynamic-property.md)