Class XmlMapping
Represents the data binding for Content controls.
Inheritance
System.Object
XmlMapping
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class XmlMapping : Object
Properties
CustomXmlNode
Returns a CustomXMLNode object that represents the custom XML node in the data store to which the content control in the document maps.
Declaration
public CustomXMLNode CustomXmlNode { get; }
Property Value
Type |
---|
CustomXMLNode |
CustomXmlPart
Returns a CustomXMLPart object that represents the custom XML part to which the content control in the document maps.
Declaration
public CustomXMLPart CustomXmlPart { get; }
Property Value
Type |
---|
CustomXMLPart |
IsMapped
Returns a Boolean that represents whether the content control in the document is mapped to an XML node in the document�s XML data. Read-only.
Declaration
public bool IsMapped { get; }
Property Value
Type |
---|
System.Boolean |
PrefixMapping
�Returns a string that represents the prefix mappings used to evaluate the XPath for the current XML mapping. Read-only.
Declaration
public string PrefixMapping { get; }
Property Value
Type |
---|
System.String |
XPath
Declaration
public string XPath { get; }
Property Value
Type |
---|
System.String |
Methods
Delete()
Deletes the XML mapping from the parent content control.
Declaration
public void Delete()
SetMapping(String, String, CustomXMLPart)
Declaration
public void SetMapping(string xPath, string prefixMapping, CustomXMLPart customXmlPart)
Parameters
Type | Name | Description |
---|---|---|
System.String | xPath | |
System.String | prefixMapping | |
CustomXMLPart | customXmlPart |
SetMappingByNode(CustomXMLNode)
Declaration
public void SetMappingByNode(CustomXMLNode customXmlNode)
Parameters
Type | Name | Description |
---|---|---|
CustomXMLNode | customXmlNode |