// IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 7:     // MainPage.xaml line 74
                    this.obj7 = new global::System.WeakReference((global::Windows.UI.Xaml.Controls.Grid)target);
                    break;

                case 8:     // MainPage.xaml line 81
                    this.obj8 = (global::Windows.UI.Xaml.Controls.Image)target;
                    break;

                case 9:     // MainPage.xaml line 86
                    this.obj9 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 10:     // MainPage.xaml line 99
                    this.obj10 = (global::Telerik.UI.Xaml.Controls.Input.RadRating)target;
                    break;

                case 13:     // MainPage.xaml line 91
                    this.obj13 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 14:     // MainPage.xaml line 94
                    this.obj14 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                default:
                    break;
                }
            }
Beispiel #2
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 2:     // MainPage.xaml line 118
                    this.obj2 = new global::System.WeakReference((global::Windows.UI.Xaml.Controls.Grid)target);
                    break;

                case 3:     // MainPage.xaml line 125
                    this.obj3 = (global::Windows.UI.Xaml.Controls.Image)target;
                    break;

                case 4:     // MainPage.xaml line 130
                    this.obj4 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 5:     // MainPage.xaml line 143
                    this.obj5 = (global::Telerik.UI.Xaml.Controls.Input.RadRating)target;
                    break;

                case 8:     // MainPage.xaml line 135
                    this.obj8 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 9:     // MainPage.xaml line 138
                    this.obj9 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                default:
                    break;
                }
            }
Beispiel #3
0
 public void RegisterTwoWayListener_16(global::Telerik.UI.Xaml.Controls.Input.RadRating sourceObject)
 {
     sourceObject.RegisterPropertyChangedCallback(global::Telerik.UI.Xaml.Controls.Input.RadRating.ValueProperty, (sender, prop) =>
     {
         var bindingObj = this.TryGetBindingObject();
         if (bindingObj != null)
         {
             bindingObj.UpdateTwoWay_16_Value();
         }
     });
 }
Beispiel #4
0
 public static void Set_Telerik_UI_Xaml_Controls_Input_RadRating_Value(global::Telerik.UI.Xaml.Controls.Input.RadRating obj, global::System.Double value)
 {
     obj.Value = value;
 }
Beispiel #5
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 7:     // DetailPage.xaml line 54
                    this.obj7      = (global::Windows.UI.Xaml.Controls.Button)target;
                    this.obj7Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.FitToScreen();
                    };
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj7Click;
                    break;

                case 8:     // DetailPage.xaml line 56
                    this.obj8      = (global::Windows.UI.Xaml.Controls.Button)target;
                    this.obj8Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.ShowActualSize();
                    };
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj8Click;
                    break;

                case 13:     // DetailPage.xaml line 368
                    this.obj13             = (global::Windows.UI.Xaml.Controls.Image)target;
                    this.obj13DoubleTapped = (global::System.Object p0, global::Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs p1) =>
                    {
                        this.dataRoot.UpdateZoomState();
                    };
                    ((global::Windows.UI.Xaml.Controls.Image)target).DoubleTapped += obj13DoubleTapped;
                    break;

                case 15:     // DetailPage.xaml line 418
                    this.obj15 = (global::Windows.UI.Xaml.Controls.TextBox)target;
                    this.bindingsTracking.RegisterTwoWayListener_15(this.obj15);
                    break;

                case 16:     // DetailPage.xaml line 424
                    this.obj16 = (global::Telerik.UI.Xaml.Controls.Input.RadRating)target;
                    this.bindingsTracking.RegisterTwoWayListener_16(this.obj16);
                    break;

                case 17:     // DetailPage.xaml line 444
                    this.obj17 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_17(this.obj17);
                    break;

                case 18:     // DetailPage.xaml line 461
                    this.obj18 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 19:     // DetailPage.xaml line 466
                    this.obj19 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_19(this.obj19);
                    break;

                case 20:     // DetailPage.xaml line 481
                    this.obj20 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 21:     // DetailPage.xaml line 486
                    this.obj21 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_21(this.obj21);
                    break;

                case 22:     // DetailPage.xaml line 501
                    this.obj22 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 23:     // DetailPage.xaml line 506
                    this.obj23 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_23(this.obj23);
                    break;

                case 24:     // DetailPage.xaml line 511
                    this.obj24 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 25:     // DetailPage.xaml line 516
                    this.obj25 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_25(this.obj25);
                    break;

                case 26:     // DetailPage.xaml line 521
                    this.obj26 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 27:     // DetailPage.xaml line 526
                    this.obj27 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_27(this.obj27);
                    break;

                case 28:     // DetailPage.xaml line 531
                    this.obj28 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 29:     // DetailPage.xaml line 547
                    this.obj29      = (global::Windows.UI.Xaml.Controls.Button)target;
                    this.obj29Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.ResetEffects();
                    };
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj29Click;
                    break;

                case 30:     // DetailPage.xaml line 551
                    this.obj30      = (global::Windows.UI.Xaml.Controls.Button)target;
                    this.obj30Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.ExportImage();
                    };
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj30Click;
                    break;

                case 34:     // DetailPage.xaml line 344
                    this.obj34      = (global::Windows.UI.Xaml.Controls.AppBarToggleButton)target;
                    this.obj34Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.ToggleEditState();
                    };
                    ((global::Windows.UI.Xaml.Controls.AppBarToggleButton)target).Click += obj34Click;
                    break;

                case 35:     // DetailPage.xaml line 326
                    this.obj35 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 36:     // DetailPage.xaml line 330
                    this.obj36 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                default:
                    break;
                }
            }
Beispiel #6
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 3:
                    this.obj3 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.FitToScreen();
                    };
                    break;

                case 4:
                    this.obj4 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ShowActualSize();
                    };
                    break;

                case 9:
                    this.obj9 = (global::Windows.UI.Xaml.Controls.Image)target;
                    ((global::Windows.UI.Xaml.Controls.Image)target).DoubleTapped += (global::System.Object sender, global::Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs e) =>
                    {
                        this.dataRoot.UpdateZoomState();
                    };
                    break;

                case 11:
                    this.obj11              = (global::Windows.UI.Xaml.Controls.TextBox)target;
                    (this.obj11).LostFocus += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.ImageTitle = this.obj11.Text;
                        }
                    };
                    break;

                case 12:
                    this.obj12 = (global::Telerik.UI.Xaml.Controls.Input.RadRating)target;
                    (this.obj12).RegisterPropertyChangedCallback(global::Telerik.UI.Xaml.Controls.Input.RadRating.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.ImageRating = (global::System.Int32) this.obj12.Value;
                        }
                    });
                    break;

                case 13:
                    this.obj13 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj13).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Exposure = (global::System.Single) this.obj13.Value;
                        }
                    });
                    break;

                case 14:
                    this.obj14 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 15:
                    this.obj15 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj15).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Temperature = (global::System.Single) this.obj15.Value;
                        }
                    });
                    break;

                case 16:
                    this.obj16 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 17:
                    this.obj17 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj17).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Tint = (global::System.Single) this.obj17.Value;
                        }
                    });
                    break;

                case 18:
                    this.obj18 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 19:
                    this.obj19 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj19).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Contrast = (global::System.Single) this.obj19.Value;
                        }
                    });
                    break;

                case 20:
                    this.obj20 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 21:
                    this.obj21 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj21).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Saturation = (global::System.Single) this.obj21.Value;
                        }
                    });
                    break;

                case 22:
                    this.obj22 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 23:
                    this.obj23 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    (this.obj23).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty,
                                                                 (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.item.Blur = (global::System.Single) this.obj23.Value;
                        }
                    });
                    break;

                case 24:
                    this.obj24 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 25:
                    this.obj25 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ResetEffects();
                    };
                    break;

                case 26:
                    this.obj26 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ExportImage();
                    };
                    break;

                case 28:
                    this.obj28 = (global::Windows.UI.Xaml.Controls.AppBarToggleButton)target;
                    ((global::Windows.UI.Xaml.Controls.AppBarToggleButton)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ToggleEditState();
                    };
                    break;

                case 29:
                    this.obj29 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 30:
                    this.obj30 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                default:
                    break;
                }
            }
Beispiel #7
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 3:     // DetailPage.xaml line 54
                    this.obj3 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.FitToScreen();
                    };
                    break;

                case 4:     // DetailPage.xaml line 56
                    this.obj4 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ShowActualSize();
                    };
                    break;

                case 9:     // DetailPage.xaml line 443
                    this.obj9 = (global::Windows.UI.Xaml.Controls.Image)target;
                    ((global::Windows.UI.Xaml.Controls.Image)target).DoubleTapped += (global::System.Object sender, global::Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs e) =>
                    {
                        this.dataRoot.UpdateZoomState();
                    };
                    break;

                case 11:     // DetailPage.xaml line 493
                    this.obj11 = (global::Windows.UI.Xaml.Controls.TextBox)target;
                    this.bindingsTracking.RegisterTwoWayListener_11(this.obj11);
                    break;

                case 12:     // DetailPage.xaml line 499
                    this.obj12 = (global::Telerik.UI.Xaml.Controls.Input.RadRating)target;
                    this.bindingsTracking.RegisterTwoWayListener_12(this.obj12);
                    break;

                case 13:     // DetailPage.xaml line 517
                    this.obj13 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_13(this.obj13);
                    break;

                case 14:     // DetailPage.xaml line 536
                    this.obj14 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 15:     // DetailPage.xaml line 540
                    this.obj15 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_15(this.obj15);
                    break;

                case 16:     // DetailPage.xaml line 559
                    this.obj16 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 17:     // DetailPage.xaml line 564
                    this.obj17 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_17(this.obj17);
                    break;

                case 18:     // DetailPage.xaml line 583
                    this.obj18 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 19:     // DetailPage.xaml line 588
                    this.obj19 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_19(this.obj19);
                    break;

                case 20:     // DetailPage.xaml line 594
                    this.obj20 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 21:     // DetailPage.xaml line 599
                    this.obj21 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_21(this.obj21);
                    break;

                case 22:     // DetailPage.xaml line 604
                    this.obj22 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 23:     // DetailPage.xaml line 609
                    this.obj23 = (global::Windows.UI.Xaml.Controls.Slider)target;
                    this.bindingsTracking.RegisterTwoWayListener_23(this.obj23);
                    break;

                case 24:     // DetailPage.xaml line 614
                    this.obj24 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 25:     // DetailPage.xaml line 630
                    this.obj25 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ResetEffects();
                    };
                    break;

                case 26:     // DetailPage.xaml line 634
                    this.obj26 = (global::Windows.UI.Xaml.Controls.Button)target;
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ExportImage();
                    };
                    break;

                case 30:     // DetailPage.xaml line 419
                    this.obj30 = (global::Windows.UI.Xaml.Controls.AppBarToggleButton)target;
                    ((global::Windows.UI.Xaml.Controls.AppBarToggleButton)target).Click += (global::System.Object sender, global::Windows.UI.Xaml.RoutedEventArgs e) =>
                    {
                        this.dataRoot.ToggleEditState();
                    };
                    break;

                case 31:     // DetailPage.xaml line 401
                    this.obj31 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 32:     // DetailPage.xaml line 405
                    this.obj32 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                default:
                    break;
                }
            }