Table of Contents

Class ContentControlDataBinding

Namespace
DocWright.Dom.ContentControls
Assembly
DocWright.Dom.dll

A content control's binding to a node in a custom XML part (ECMA-376 Part 1 §17.5.2.6 w:dataBinding).

The binding is a description, not a live connection. Reading and writing through it is done by the custom-XML binding API, which needs access to the package parts the DOM deliberately keeps opaque.

public sealed class ContentControlDataBinding
Inheritance
ContentControlDataBinding
Inherited Members

Constructors

ContentControlDataBinding(string, string?, string?)

Initializes a binding.

Properties

PrefixMappings

Gets the prefix declarations the XPath uses, spelled as a sequence of xmlns:p='uri' clauses, or null when the XPath uses no prefixes.

StoreItemId

Gets the store item id of the custom XML part the XPath is evaluated against, or null. Word writes this as a GUID in braces.

XPath

Gets the XPath selecting the bound node.