Beispiel #1
0
        public static IFluentTemplateItem TemplateBinding(this IFluentTemplateItem templateItem, DependencyProperty property, DependencyProperty templateProperty, Func <object, object> lambda)
        {
            IValueConverter converter = lambda != null ? new LambdaConverter(lambda) : null;

            return(templateItem.TemplateBinding(property, templateProperty, converter));
        }
Beispiel #2
0
 public static IFluentTemplateItem TemplateBinding(this IFluentTemplateItem templateItem, DependencyProperty property, DependencyProperty templateProperty)
 {
     return(templateItem.TemplateBinding(property, templateProperty, (IValueConverter)null));
 }