Pasing my code block here
MainDocumentPart mainPart = Docx.MainDocumentPart;
SdtBlock[] sdtList = mainPart.Document.Body.Descendants<SdtBlock>().ToArray();
foreach (SdtBlock sdt in sdtList)
{
SdtContentBlock sd…...controls are still not returned, make sure the document contains block‑level...