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)); }
public ExpenseAddForm(TwoWayConverter <Models.Expense, ExpenseViewModel> converter) { _converter = converter; InitializeComponent(); }