public void MakeContentHyperlink(SdtElement element, string location) { var content = GetSdtContentOfContentControl(element); element.RemoveChild(content); var hyperlink = new Hyperlink(content) { Anchor = location }; var stdRun = new SdtRun { SdtContentRun = new SdtContentRun(hyperlink) }; SetSdtContentKeepingPermissionElements(element, stdRun); }