Class RtfDataProvider
Represents a wrapper of RtfFormatProvider allowing the latter to be used in data binding scenarios.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Rtf
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class RtfDataProvider : DataProviderBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Constructors
RtfDataProvider()
Fields
RtfProperty
The RTF property.
Declaration
public static readonly RadProperty RtfProperty
Field Value
RadProperty
|
SourceProperty
The source property.
Declaration
public static readonly RadProperty SourceProperty
Field Value
RadProperty
|
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(RadObject)
Gets the attached data provider.
Declaration
public static DataProviderBase GetAttachedDataProvider(RadObject dependencyObject)
Parameters
RadObject
dependencyObject
The dependency object. |
Returns
DataProviderBase
The provider. |
GetSource(RadObject)
Gets the source.
Declaration
public static string GetSource(RadObject dependencyObject)
Parameters
RadObject
dependencyObject
The dependency object. |
Returns
System.String
|
SetAttachedDataProvider(RadObject, DataProviderBase)
Sets the attached data provider.
Declaration
public static void SetAttachedDataProvider(RadObject dependencyObject, DataProviderBase value)
Parameters
RadObject
dependencyObject
The dependency object. |
DataProviderBase
value
The value. |
SetSource(RadObject, String)
Sets the source.
Declaration
public static void SetSource(RadObject dependencyObject, string sourceValue)
Parameters
RadObject
dependencyObject
The dependency object. |
System.String
sourceValue
The source value. |