예제 #1
0
파일: Setup.cs 프로젝트: martijn00/Meetups
        protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
        {
            registry.RegisterCustomBindingFactory <BinaryEdit>(
                "MyCount",
                (arg) => new BinaryEditTargetBinding(arg));

            base.FillTargetFactories(registry);
        }
예제 #2
0
        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);
        }
예제 #3
0
 /// <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)));
 }
예제 #4
0
 protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     base.FillTargetFactories(registry);
     registry.RegisterCustomBindingFactory <BottomNavigationView>("BottomNavSelectedBindingKey", view => new MvxBottomNavigationItemChangedBinding(view));
 }
예제 #5
0
파일: Setup.cs 프로젝트: nvduc2910/ShopIt
 protected override void FillTargetFactories(MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     base.FillTargetFactories(registry);
 }