protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry) { registry.RegisterCustomBindingFactory <BinaryEdit>( "MyCount", (arg) => new BinaryEditTargetBinding(arg)); base.FillTargetFactories(registry); }
protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry) { registry.RegisterCustomBindingFactory <PagingTableSource>("Paging", (arg) => new TableSourcePagingBinding(arg)); registry.RegisterCustomBindingFactory <UIWebView>("Html", (arg) => new WebViewStringBinding(arg)); registry.RegisterCustomBindingFactory <UIWebView>("Loaded", (arg) => new WebViewLoadedBinding(arg)); registry.RegisterCustomBindingFactory <UIScrollView>("Size", (arg) => new ScrollViewSizeBinding(arg)); registry.RegisterCustomBindingFactory <TabView>("Tabs", (arg) => new TabViewTabsBinding(arg)); registry.RegisterCustomBindingFactory <UISegmentedControl>("Segmented", (arg) => new SegmentedBinding(arg)); registry.RegisterCustomBindingFactory <UIButton>("ButtonTitle", (arg) => new ButtonTextBinding(arg)); base.FillTargetFactories(registry); }
/// <summary> /// Fills the target factories. /// </summary> /// <param name="registry">The registry.</param> protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry) { base.FillTargetFactories(registry); registry.RegisterFactory(new MvxCustomBindingFactory <LinearLayout>("ShapeBackground", (view) => new ShapeBackgroundBinding(view))); }
protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry) { base.FillTargetFactories(registry); registry.RegisterCustomBindingFactory <BottomNavigationView>("BottomNavSelectedBindingKey", view => new MvxBottomNavigationItemChangedBinding(view)); }
protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry) { base.FillTargetFactories(registry); }