Class TxtDataProvider
Represents a wrapper of TxtFormatProvider that can be used in data binding scenarios.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.Txt
Assembly: Telerik.Windows.Documents.dll
Syntax
public class TxtDataProvider : DataProviderBase
Constructors
TxtDataProvider()
Fields
SourceProperty
The source property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
TextProperty
The text property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Text
Gets or sets the current document as Text.
Declaration
public string Text { get; set; }
Property Value
System.String
|
Methods
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
A string representing 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. |
System.String
sourceValue
The source value. |