There is no direct way. You'll have to iterate and select. For instance:
var doc = XDocument.Parse(
@"somevalue12");
var textNodes = from node in doc.DescendantNodes()
where node is XText
select (XText)node;
foreach (var textNode in textNodes)
{
Console.WriteLine(textNode.Value);
}