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

    Show / Hide Table of Contents

    InlineContentControl Class

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

    Represents inline-level Content Control (Structured Document Tag).

    • C#
    • VB.NET
    public class InlineContentControl : Inline, IContentElement, IContentControl
    Public Class InlineContentControl
        Inherits Inline
        Implements IContentElement, IContentControl
    Inheritance:
    System.Object
    Element
    Inline
    InlineContentControl
    Implements
    IContentElement
    IContentControl

    Constructors

    InlineContentControl(DocumentModel, ContentControlType)

    Initializes a new instance of the InlineContentControl class.

    • C#
    • VB.NET
    public InlineContentControl(DocumentModel document, ContentControlType contentControlType)
    Public Sub New(document As DocumentModel, contentControlType As ContentControlType)
    Parameters
    document
    DocumentModel

    The owner document.

    contentControlType
    ContentControlType

    Type of content control.

    InlineContentControl(DocumentModel, ContentControlType, Inline[])

    Initializes a new instance of the InlineContentControl class.

    • C#
    • VB.NET
    public InlineContentControl(DocumentModel document, ContentControlType contentControlType, params Inline[] items)
    Public Sub New(document As DocumentModel, contentControlType As ContentControlType, ParamArray items As Inline())
    Parameters
    document
    DocumentModel

    The owner document.

    contentControlType
    ContentControlType

    Type of content control.

    items
    Inline[]

    The content control's content.

    InlineContentControl(DocumentModel, ContentControlType, IEnumerable<Inline>)

    Initializes a new instance of the InlineContentControl class.

    • C#
    • VB.NET
    public InlineContentControl(DocumentModel document, ContentControlType contentControlType, IEnumerable<Inline> items)
    Public Sub New(document As DocumentModel, contentControlType As ContentControlType, items As IEnumerable(Of Inline))
    Parameters
    document
    DocumentModel

    The owner document.

    contentControlType
    ContentControlType

    Type of content control.

    items
    System.Collections.Generic.IEnumerable<Inline>

    The content control's content.

    Properties

    ContentControlType

    Gets the type of this Content Control

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

    The type of this Content Control

    ElementType

    Gets the ElementType of this IContentControl instance.

    • C#
    • VB.NET
    public override ElementType ElementType { get; }
    Public Overrides ReadOnly Property ElementType As ElementType
    Property Value
    ElementType

    The ElementType of this IContentControl instance.

    Overrides
    Element.ElementType

    Inlines

    Gets the inlines of this Content Control.

    • C#
    • VB.NET
    public InlineCollection Inlines { get; }
    Public ReadOnly Property Inlines As InlineCollection
    Property Value
    InlineCollection

    Inlines of this Content Control.

    Properties

    Gets all the possible properties for this Content Control item.

    • C#
    • VB.NET
    public ContentControlProperties Properties { get; set; }
    Public Property Properties As ContentControlProperties
    Property Value
    ContentControlProperties

    All the possible properties for this Content Control item.

    Methods

    Update()

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

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

    UpdateSource()

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

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

    Inherited Properties

    Content

    Gets the content of the current Element.

    (Inherited from Element)

    Document

    Gets the owner document.

    (Inherited from Element)

    Parent

    Gets the parent of this Element instance.

    (Inherited from Element)

    ParentCollection

    Gets the InlineCollection that contains this Inline instance.

    (Inherited from Inline)

    Revision

    Gets or sets the revision information for the inline.

    (Inherited from Inline)

    Inherited Methods

    Clone(System.Boolean)

    Clones this Inline instance.

    (Inherited from Inline)

    GetChildElements(System.Boolean)

    Gets the child elements.

    (Inherited from Element)

    GetChildElements(System.Boolean, ElementType[])

    Gets the child elements filtered by ElementType.

    (Inherited from Element)

    GetParentElements()

    Gets the parent elements.

    (Inherited from Element)

    GetParentElements(ElementType[])

    Gets the parent elements.

    (Inherited from Element)

    Implements

    IContentElement
    IContentControl
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.