Class DocxDataProvider
Represents a data provider for OpenXML DOCX format in Telerik's RadRichTextBox.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.OpenXml
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class DocxDataProvider : BinaryDataProviderBase
Constructors
DocxDataProvider()
Declaration
public DocxDataProvider()
Fields
DocxProperty
Declaration
public static readonly DependencyProperty DocxProperty
Field Value
System.Windows.DependencyProperty
|
SourceProperty
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Docx
Gets or sets the current document as HTML
Declaration
public IList<byte> Docx { get; set; }
Property Value
System.Collections.Generic.IList<System.Byte>
|
Methods
GetAttachedDataProvider(DependencyObject)
Retrieves the attached data provider for the specified System.Windows.DependencyObject.
Declaration
public static BinaryDataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The System.Windows.DependencyObject from which to retrieve the attached data provider. |
Returns
BinaryDataProviderBase
The attached data provider associated with the specified System.Windows.DependencyObject. |
GetSource(DependencyObject)
Retrieves the source associated with the specified DependencyObject in the OpenXml format.
Declaration
public static IList<byte> GetSource(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The DependencyObject for which to retrieve the source. |
Returns
System.Collections.Generic.IList<System.Byte>
The source associated with the provided DependencyObject, or null if no source is found. |
SetSource(DependencyObject, IList<Byte>)
Sets the source of the DocxDataProvider with the specified dependency object and byte array.
Declaration
public static void SetSource(DependencyObject dependencyObject, IList<byte> sourceValue)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object representing the document. |
System.Collections.Generic.IList<System.Byte>
sourceValue
A list of byte arrays to set as the source data. |