Class HtmlDataProvider
Represents a wrapper of HtmlFormatProvider that can be used in data binding scenarios.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.Html
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class HtmlDataProvider : DataProviderBase
Constructors
HtmlDataProvider()
Fields
HtmlProperty
The HTML property.
Declaration
public static readonly DependencyProperty HtmlProperty
Field Value
System.Windows.DependencyProperty
|
SourceProperty
The source property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
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(DependencyObject)
Gets the attached data provider.
Declaration
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object the data provider should be obtained from. |
Returns
DataProviderBase
|
GetSource(DependencyObject)
Gets the source.
Declaration
public static string GetSource(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object the source should be obtained from. |
Returns
System.String
The source. |
SetSource(DependencyObject, String)
Sets the source.
Declaration
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object the source should be set to. |
System.String
sourceValue
The source value. |