ClassDocxDataProvider
Represents a data provider for OpenXML DOCX format in Telerik's RadRichTextBox.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.OpenXml
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class DocxDataProvider : BinaryDataProviderBase
Inheritance: objectBinaryDataProviderBaseDocxDataProvider
Inherited Members
Constructors
DocxDataProvider()
Declaration
public DocxDataProvider()
Fields
DocxProperty
Declaration
public static readonly DependencyProperty DocxProperty
Field Value
DependencyProperty
SourceProperty
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
DependencyProperty
Properties
Methods
GetAttachedDataProvider(DependencyObject)
Retrieves the attached data provider for the specified DependencyObject.
Declaration
public static BinaryDataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters
dependencyObject
DependencyObject
The DependencyObject from which to retrieve the attached data provider.
Returns
The attached data provider associated with the specified DependencyObject.
GetSource(DependencyObject)
Retrieves the source associated with the specified DependencyObject in the OpenXml format.
Declaration
public static IList<byte> GetSource(DependencyObject dependencyObject)
Parameters
dependencyObject
DependencyObject
The DependencyObject for which to retrieve the source.
Returns
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.