Ejemplo n.º 1
0
 public static Binder <TSource, UIStepper> MinimumValue <TSource, TPropertyType>(this Binder <TSource, UIStepper> binder, Expression <Func <TSource, TPropertyType> > property, TwoWayConverter <TPropertyType, double> converter = null)
     where TSource : class
 {
     return(binder.Property <TPropertyType, double, EventArgs>(property, b => b.MinimumValue, nameof(UIStepper.ValueChanged), converter));
 }
Ejemplo n.º 2
0
 public ExpenseAddForm(TwoWayConverter <Models.Expense, ExpenseViewModel> converter)
 {
     _converter = converter;
     InitializeComponent();
 }