C# Class WPF.JoshSmith.Data.DataContextSpy

When added to an element's Resources collection it's DataContext property references the containing element's DataContext. This enables DependencyObjects not in the element tree to bind to the tree's DataContext.
Documentation: http://www.codeproject.com/KB/WPF/ArtificialInheritanceCxt.aspx
Inheritance: System.Windows.Freezable
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Свойство Type Description
DataContextProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
DataContextSpy ( ) : System

Initializes a new instance.

Méthodes protégées

Méthode Description
CreateInstanceCore ( ) : System.Windows.Freezable

Do not invoke.

Private Methods

Méthode Description
OnCoerceDataContext ( DependencyObject depObj, object value ) : object

Method Details

CreateInstanceCore() protected méthode

Do not invoke.
protected CreateInstanceCore ( ) : System.Windows.Freezable
Résultat System.Windows.Freezable

DataContextSpy() public méthode

Initializes a new instance.
public DataContextSpy ( ) : System
Résultat System

Property Details

DataContextProperty public_oe static_oe property

Represents the DataContext property.
public static DependencyProperty,System.Windows DataContextProperty
Résultat System.Windows.DependencyProperty