ClassRtfDataProvider
Represents a wrapper of RtfFormatProvider allowing the latter to be used in data binding scenarios.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.Rtf
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class RtfDataProvider : DataProviderBase
Inheritance: objectDataProviderBaseRtfDataProvider
Inherited Members
Constructors
RtfDataProvider()
Initializes a new instance of the RtfDataProvider class.
Declaration
public RtfDataProvider()
Fields
RtfProperty
The RTF property.
Declaration
public static readonly DependencyProperty RtfProperty
Field Value
DependencyProperty
SourceProperty
The source property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
DependencyProperty
Properties
Methods
Bind(RadRichTextBox)
Binds the specified box.
Declaration
protected override void Bind(RadRichTextBox box)
Parameters
box
The box.
Overrides
GetAttachedDataProvider(DependencyObject)
Gets the attached data provider.
Declaration
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters
dependencyObject
DependencyObject
The dependency object.
Returns
The provider.
GetSource(DependencyObject)
Gets the source.
Declaration
public static string GetSource(DependencyObject dependencyObject)
Parameters
dependencyObject
DependencyObject
The dependency object.
Returns
SetAttachedDataProvider(DependencyObject, DataProviderBase)
Sets the attached data provider.
Declaration
public static void SetAttachedDataProvider(DependencyObject dependencyObject, DataProviderBase value)
Parameters
dependencyObject
DependencyObject
The dependency object.
value
The value.
SetSource(DependencyObject, string)
Sets the source.
Declaration
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
Parameters
dependencyObject
DependencyObject
The dependency object.
sourceValue
The source value.