HtmlDataProvider
Represents a wrapper of HtmlFormatProvider that can be used in data binding scenarios.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.Html
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class HtmlDataProvider : DataProviderBase
Inheritance: objectDataProviderBaseHtmlDataProvider
Inherited Members
Constructors
Initializes a new instance of the HtmlDataProvider class.
public HtmlDataProvider()
Fields
HtmlProperty
DependencyProperty
The HTML property.
public static readonly DependencyProperty HtmlProperty
SourceProperty
DependencyProperty
The source property.
public static readonly DependencyProperty SourceProperty
Properties
Methods
Binds the specified RadRichTextBox to the current instance.
protected override void Bind(RadRichTextBox box)
The RadRichTextBox.
Overrides:
Gets the attached data provider.
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
The dependency object the data provider should be obtained from.
Returns:Gets the source.
public static string GetSource(DependencyObject dependencyObject)
The dependency object the source should be obtained from.
Returns:The source.
Sets the source.
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
The dependency object the source should be set to.
sourceValuestringThe source value.