--- 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 that represents the concatenated contents of the element. ## Remarks This property is equivalent to the property of the class, but this dynamic property also supports change notifications. ## See also - - [XElement class dynamic properties](attribute-xelement-dynamic-property.md) - [Xml](xml-xelement-dynamic-property.md)