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