Class HtmlDataProvider
Represents a wrapper of HtmlFormatProvider that can be used in data binding scenarios.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Html
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class HtmlDataProvider : DataProviderBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Constructors
HtmlDataProvider()
Fields
HtmlProperty
The HTML property.
Declaration
public static readonly RadProperty HtmlProperty
Field Value
RadProperty
|
SourceProperty
The source property.
Declaration
public static readonly RadProperty SourceProperty
Field Value
RadProperty
|
Properties
Html
Gets or sets the current document as HTML
Declaration
public string Html { get; set; }
Property Value
System.String
|
Methods
Bind(RadRichTextBox)
Binds the specified RadRichTextBox to the current instance.
Declaration
protected override void Bind(RadRichTextBox box)
Parameters
RadRichTextBox
box
The RadRichTextBox. |
Overrides
GetAttachedDataProvider(RadObject)
Gets the attached data provider.
Declaration
public static DataProviderBase GetAttachedDataProvider(RadObject dependencyObject)
Parameters
RadObject
dependencyObject
The dependency object the data provider should be obtained from. |
Returns
DataProviderBase
|
GetSource(RadObject)
Gets the source.
Declaration
public static string GetSource(RadObject dependencyObject)
Parameters
RadObject
dependencyObject
The dependency object the source should be obtained from. |
Returns
System.String
The source. |
SetSource(RadObject, String)
Sets the source.
Declaration
public static void SetSource(RadObject dependencyObject, string sourceValue)
Parameters
RadObject
dependencyObject
The dependency object the source should be set to. |
System.String
sourceValue
The source value. |