Files
docs-desktop/dotnet-desktop-guide/framework/wpf/data/xml-xelement-dynamic-property.md
T
Andy De George da363692ff 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
2020-09-04 09:46:28 -07:00

30 lines
752 B
Markdown

---
title: Xml (XElement dynamic property)
ms.date: 10/22/2019
ms.topic: reference
apiname:
- "XElement.Xml"
---
# Xml (XElement dynamic property)
Gets the unformatted XML content of the element.
## Syntax
```xaml
elem.Xml
```
## Property value/return value
A <xref:System.String> that represents the unformatted XML content of the element.
## Remarks
This property is equivalent to the <xref:System.Xml.Linq.XNode.ToString(System.Xml.Linq.SaveOptions)> method of the <xref:System.Xml.Linq.XNode?displayProperty=fullName> class, with the `SaveOptions` parameter set to <xref:System.Xml.Linq.SaveOptions>.
## See also
- [XElement class dynamic properties](attribute-xelement-dynamic-property.md)
- [Value](value-xelement-dynamic-property.md)