Hello,
I found one interesting behavior in parsing OpenXML and finding the Content Controls. Everything works fine when we use just "text content control" - it can be found. However, nothing is found when we use "Richtext content control".
Is it a bug?!
I use the following code to find my content controls by tag
List sdtList = mainPart.Document.Descendants()
.Where(s => s.SdtProperties.GetFirstChild().Val.Value == controlName).ToList();