Esempio n. 1
0
 public static void AddElementConvention <T>(this IConventionManager conventionManager, string defaultEvent, DependencyProperty bindableProperty, Action <T, object> setter, Func <T, object> getter)
     where T : DependencyObject
 {
     conventionManager.AddElementConvention(
         new DefaultElementConvention <T>(
             defaultEvent,
             bindableProperty,
             setter,
             getter,
             null
             ));
 }