Files
docs-desktop/dotnet-desktop-guide/framework/wpf/data/value-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

29 lines
749 B
Markdown

---
title: Value (XElement dynamic property)
ms.date: 10/22/2019
ms.topic: reference
---
# Value (XElement dynamic property)
Gets or sets the content of the element.
## Syntax
```xaml
elem.Value
```
## Property value/return value
A <xref:System.String> that represents the concatenated contents of the element.
## Remarks
This property is equivalent to the <xref:System.Xml.Linq.XElement.Value%2A> property of the <xref:System.Xml.Linq.XElement?displayProperty=fullName> class, but this dynamic property also supports change notifications.
## See also
- <xref:System.Xml.Linq.XElement.Value%2A?displayProperty=fullName>
- [XElement class dynamic properties](attribute-xelement-dynamic-property.md)
- [Xml](xml-xelement-dynamic-property.md)