RtfDataProvider
Class
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:
C#
public class RtfDataProvider : DataProviderBase
Inheritance: objectDataProviderBaseRtfDataProvider
Inherited Members
Constructors
Initializes a new instance of the RtfDataProvider class.
C#
public RtfDataProvider()
Fields
RtfProperty
DependencyProperty
The RTF property.
C#
public static readonly DependencyProperty RtfProperty
SourceProperty
DependencyProperty
The source property.
C#
public static readonly DependencyProperty SourceProperty
Properties
Methods
Binds the specified box.
Gets the attached data provider.
C#
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
The dependency object.
Returns:The provider.
Gets the source.
C#
public static string GetSource(DependencyObject dependencyObject)
The dependency object.
Returns:Sets the attached data provider.
C#
public static void SetAttachedDataProvider(DependencyObject dependencyObject, DataProviderBase value)
The dependency object.
valueDataProviderBaseThe value.
Sets the source.
C#
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
The dependency object.
sourceValuestringThe source value.