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

Represents a wrapper of XamlFormatProvider allowing the latter to be used in data binding scenarios.

Definition

Constructors

Initializes a new instance of the XamlDataProvider class.

C#
public XamlDataProvider()

Fields

SourceProperty

DependencyProperty

The source property.

C#
public static readonly DependencyProperty SourceProperty

XamlProperty

DependencyProperty

The xaml property.

C#
public static readonly DependencyProperty XamlProperty

Properties

Gets or sets the current document as XAML.

C#
public string Xaml { get; set; }

Methods

Gets the attached data provider.

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

The dependency object.

Returns:

DataProviderBase

The data provider.

Gets the source.

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

The dependency object.

Returns:

string

The source represented as a string.

Sets the source.

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

The dependency object.

sourceValuestring

The source value.