InlineContentControl Class
Represents inline-level Content Control (Structured Document Tag).
public class InlineContentControl : Inline, IContentElement, IContentControl
Public Class InlineContentControl
Inherits Inline
Implements IContentElement, IContentControl
- Inheritance:
- System.ObjectInlineContentControl
Constructors
InlineContentControl(DocumentModel, ContentControlType)
Initializes a new instance of the InlineContentControl class.
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.
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.
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
public ContentControlType ContentControlType { get; }
Public ReadOnly Property ContentControlType As ContentControlType
Property Value
The type of this Content Control
ElementType
Gets the ElementType of this IContentControl instance.
public override ElementType ElementType { get; }
Public Overrides ReadOnly Property ElementType As ElementType
Property Value
The ElementType of this IContentControl instance.
Overrides
Inlines
Gets the inlines of this Content Control.
public InlineCollection Inlines { get; }
Public ReadOnly Property Inlines As InlineCollection
Property Value
Inlines of this Content Control.
Properties
Gets all the possible properties for this Content Control item.
public ContentControlProperties Properties { get; set; }
Public Property Properties As ContentControlProperties
Property Value
All the possible properties for this Content Control item.
Methods
Update()
Updates the content of the current InlineContentControl with the data from XmlMapping.
UpdateSource()
Updates the source from XmlMapping of the current InlineContentControl with its content.
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) |