[]
        
(Showing Draft Content)

C1.LiveLinq.Listeners.PropertyChangeListener-1.CreateDefault

CreateDefault Method

CreateDefault()

Creates the default listener used by LiveLinq to listen to property change notifications in objects of type T.

Declaration
public static PropertyChangeListener<T> CreateDefault()
Returns
Type Description
PropertyChangeListener<T>

The default listener handling property change notifications.

Remarks

For ADO.NET and XML objects (DataRow, DataRowView, XContainer), their corresponding property change notifications are used.

For objects implementing INotifyPropertyChanged interface, that interface is used.

If the class is neither of the above, the default listener tries to use two change notification patterns if they are present in the class:

  • events named propertyNameChanged
  • dependency properties of WPF classes

These patterns don't have to exist in the class, it's just a last ditch attempt of the default listener to find a notification mechanism if the standard one is not found.