protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     registry.RegisterCustomBindingFactory <BinaryEdit>(
         "N28",
         binary => new BinaryEditFooTargetBinding(binary));
     base.FillTargetFactories(registry);
 }
Exemple #2
0
 protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     registry.RegisterCustomBindingFactory <GamePanel>("Shapes", binary =>
     {
         return(new GameViewBinding(binary));
     });
     base.FillTargetFactories(registry);
 }
Exemple #3
0
        protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
        {
            base.FillTargetFactories(registry);


            registry.RegisterCustomBindingFactory <View>("Visible",
                                                         view => new MvxViewVisibleBinding(view));
        }
Exemple #4
0
 protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     registry.RegisterCustomBindingFactory <UISlider>(
         "Value",
         target => new MvxUISliderValueTargetBinding(target, PropertyHelper <UISlider> .GetProperty(x => x.Value)));
     registry.RegisterCustomBindingFactory <UISwitch>(
         "On",
         target => new MvxUISwitchOnTargetBinding(target, PropertyHelper <UISwitch> .GetProperty(x => x.On)));
     base.FillTargetFactories(registry);
 }
Exemple #5
0
 protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     base.FillTargetFactories(registry);
     registry.RegisterFactory(new MvxCustomBindingFactory <GameView>("Shapes", view => new GameViewBinding(view)));
 }