GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    IContentControl Interface

    Namespace:
    GemBox.Document.CustomMarkups
    Assembly:
    GemBox.Document.dll

    Represents Content Control and groups Content Control properties that are common for all Content Control types.

    • C#
    • VB.NET
    public interface IContentControl
    Public Interface IContentControl

    Properties

    Content

    Gets the content of the current IContentControl.

    • C#
    • VB.NET
    ContentRange Content { get; }
    ReadOnly Property Content As ContentRange
    Property Value
    ContentRange

    The content of the current IContentControl.

    Remarks

    For more information, see Get Content example.

    ContentControlType

    Gets the type of this Content Control.

    • C#
    • VB.NET
    ContentControlType ContentControlType { get; }
    ReadOnly Property ContentControlType As ContentControlType
    Property Value
    ContentControlType

    The type of this Content Control.

    Document

    Gets the owner document.

    • C#
    • VB.NET
    DocumentModel Document { get; }
    ReadOnly Property Document As DocumentModel
    Property Value
    DocumentModel

    The owner document.

    ElementType

    Gets the ElementType of this IContentControl instance.

    • C#
    • VB.NET
    ElementType ElementType { get; }
    ReadOnly Property ElementType As ElementType
    Property Value
    ElementType

    The ElementType of this IContentControl instance.

    Parent

    Gets the parent of this IContentControl instance.

    • C#
    • VB.NET
    Element Parent { get; }
    ReadOnly Property Parent As Element
    Property Value
    Element

    The parent of this IContentControl instance.

    ParentCollection

    Gets the ElementCollection that contains this IContentControl instance.

    • C#
    • VB.NET
    ElementCollection ParentCollection { get; }
    ReadOnly Property ParentCollection As ElementCollection
    Property Value
    ElementCollection

    The ElementCollection that contains this IContentControl instance.

    Properties

    Gets all the possible properties for this Content Control item.

    • C#
    • VB.NET
    ContentControlProperties Properties { get; }
    ReadOnly Property Properties As ContentControlProperties
    Property Value
    ContentControlProperties

    All the possible properties for this Content Control item.

    Methods

    Update()

    Updates the content of the current IContentControl with the data from XmlMapping.

    • C#
    • VB.NET
    void Update()
    Sub Update

    UpdateSource()

    Updates the source from XmlMapping of the current IContentControl with its content.

    • C#
    • VB.NET
    void UpdateSource()
    Sub UpdateSource

    Examples

    Get Content example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.