Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ControlContent Class
Properties Methods

In This Topic
    ControlContent Class Members
    In This Topic

    The following tables list the members exposed by ControlContent.

    Public Properties
     NameDescription
    Public Property Gets the collection of the children of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Property Gets the parent content control.  
    Public PropertyGets the DocumentBase that contains this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the Marker representing the end of this content object in the parent body. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Property Gets the content unique identifier. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the parent Body of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the parent ContentObject of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the Marker representing the start of this content object in the parent body. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds a BidirectionalOverride to the end of the current control content.  
    Public MethodOverloaded. Adds a ComplexField to the end of the current control content.  
    Public MethodAdds a ContentControl to the end of the current control content.  
    Public MethodOverloaded. Adds an Endnote to the end of the current control content.  
    Public MethodOverloaded. Adds a Footnote to the end of the current control content.  
    Public MethodOverloaded. Adds a Hyperlink to the end of the current control content.  
    Public MethodOverloaded. Adds a OMath to the end of the current control content.  
    Public MethodOverloaded. Adds a OMathParagraph to the end of the current control content.  
    Public MethodOverloaded. Adds a Paragraph to the end of the current control content.  
    Public MethodOverloaded. Adds a Run to the end of the current control content.  
    Public MethodOverloaded. Adds a SimpleField to the end of the current control content.  
    Public MethodOverloaded. Adds a Table to the end of the current control content.  
    Public MethodOverloaded. Checks whether a ContentObject of the specified type can be added to the current object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodOverloaded. Checks whether a ContentControl of the specified type can be added to the current object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodDeletes this content object from the parent Body.

    Note that the position occupied by this content object in the parent can still be accessed (e.g. to insert new content) via a PersistentRange if one has previously been created with GetPersistentRange.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Method Gets the collection of this content object's children of a specified type. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodCreates and returns a PersistentRange associated with this content object.

    Unlike the Range returned by GetRange, this persistent range and any markers on it (see RangeBase.Start and RangeBase.End) can still be used if the object is deleted.

    Note that PersistentRange should be disposed when no longer needed to improve performance.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodCreates and returns a Range associated with this content object.

    To get a range that can be used after the object has been deleted, see GetPersistentRange.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Method Gets string representation of the content. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Top
    See Also