C# Класс 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
Наследование: System.Windows.Freezable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DataContextProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
DataContextSpy ( ) : System

Initializes a new instance.

Защищенные методы

Метод Описание
CreateInstanceCore ( ) : System.Windows.Freezable

Do not invoke.

Приватные методы

Метод Описание
OnCoerceDataContext ( DependencyObject depObj, object value ) : object

Описание методов

CreateInstanceCore() защищенный Метод

Do not invoke.
protected CreateInstanceCore ( ) : System.Windows.Freezable
Результат System.Windows.Freezable

DataContextSpy() публичный Метод

Initializes a new instance.
public DataContextSpy ( ) : System
Результат System

Описание свойств

DataContextProperty публичное статическое свойство

Represents the DataContext property.
public static DependencyProperty,System.Windows DataContextProperty
Результат System.Windows.DependencyProperty