none
Content Controls RRS feed

  • Question

  • I have nested content controls, one parent and child.

    When I delete the parent is it possible to keep the child intact ?

    Or atleast can I know whether the parent has child content controls.

    If the parent is deleted, how can i delete the child content controls?

    Thursday, October 4, 2012 9:15 PM

Answers

  • Could you explain some of the business logic behind what you want to do?

    To find out whether one content control contains others within it, try:
      ContentControl.Range.ContentControls.Count


    Cindy Meister, VSTO/Word MVP, my blog

    Friday, October 5, 2012 8:17 AM
    Moderator