Class XamlDataProvider
Represents a wrapper of XamlFormatProvider allowing the latter to be used in data binding scenarios.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.Xaml
Assembly: Telerik.Windows.Documents.FormatProviders.Xaml.dll
Syntax
public class XamlDataProvider : DataProviderBase
Constructors
XamlDataProvider()
Fields
SourceProperty
The source property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
XamlProperty
The xaml property.
Declaration
public static readonly DependencyProperty XamlProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Xaml
Gets or sets the current document as XAML.
Declaration
public string Xaml { 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 data provider. |
GetSource(DependencyObject)
Gets the source.
Declaration
public static string GetSource(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
The dependency object. |
Returns
System.String
The source represented as a string. |
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. |