public static void Bind(this BindingService service, object target, string propName, string path, Func <object, object> converter) { var funcConverter = new FuncConverter() { Function = converter, }; var binding = new BindingInfo(propName, path, funcConverter); service.Bind(target, binding); }
public static void Bind(this BindingService service, object target, string propName, string path, IValueConverter converter) { var binding = new BindingInfo(propName, path, converter); service.Bind(target, binding); }
public static void Bind(this BindingService service, object target, string propName, string path) { var binding = new BindingInfo(propName, path); service.Bind(target, binding); }