Class RtfDataProvider
Represents a wrapper of RtfFormatProvider allowing the latter to be used in data binding scenarios.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.Rtf
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class RtfDataProvider : DataProviderBase
Constructors
RtfDataProvider()
Fields
RtfProperty
The RTF property.
Declaration
public static readonly DependencyProperty RtfProperty
Field Value
System.Windows.DependencyProperty
|
SourceProperty
The source property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Rtf
Gets or sets the current document as RTF.
Declaration
public string Rtf { get; set; }
Property Value
System.String
|
Methods
Bind(RadRichTextBox)
Binds the specified box.
Declaration
protected override void Bind(RadRichTextBox box)
Parameters
RadRichTextBox
box
The box. |
Overrides
GetAttachedDataProvider(DependencyObject)
Gets the attached data provider.
Declaration
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object. |
Returns
DataProviderBase
The provider. |
GetSource(DependencyObject)
Gets the source.
Declaration
public static string GetSource(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object. |
Returns
System.String
|
SetAttachedDataProvider(DependencyObject, DataProviderBase)
Sets the attached data provider.
Declaration
public static void SetAttachedDataProvider(DependencyObject dependencyObject, DataProviderBase value)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object. |
DataProviderBase
value
The value. |
SetSource(DependencyObject, String)
Sets the source.
Declaration
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object. |
System.String
sourceValue
The source value. |