New to Telerik UI for WPFStart a free 30-day trial

Represents a wrapper of TxtFormatProvider that can be used in data binding scenarios.

Definition

Constructors

Initializes a new instance of the TxtDataProvider class.

C#
public TxtDataProvider()

Fields

SourceProperty

DependencyProperty

The source property.

C#
public static readonly DependencyProperty SourceProperty

TextProperty

DependencyProperty

The text property.

C#
public static readonly DependencyProperty TextProperty

Properties

Gets or sets the current document as Text.

C#
public string Text { get; set; }

Methods

Gets the attached data provider.

C#
public static DataProviderBase GetAttachedDataProvider(DependencyObject dependencyObject)
Parameters:dependencyObjectDependencyObject

The dependency object.

Returns:

DataProviderBase

The provider.

Gets the source.

C#
public static string GetSource(DependencyObject dependencyObject)
Parameters:dependencyObjectDependencyObject

The dependency object.

Returns:

string

A string representing the source.

Sets the source.

C#
public static void SetSource(DependencyObject dependencyObject, string sourceValue)
Parameters:dependencyObjectDependencyObject

The dependency object.

sourceValuestring

The source value.